Class EagerReadCache
java.lang.Object
org.eclipse.rdf4j.sail.extensiblestore.EagerReadCache
- All Implemented Interfaces:
 DataStructureInterface
A read cache that keeps a hot copy of the underlying data structure
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatement(ExtensibleStatement statement) voidvoidvoidvoidlongCloseableIteration<? extends ExtensibleStatement> getStatements(Resource subject, IRI predicate, Value object, boolean inferred, Resource... context) voidinit()voidremoveStatement(ExtensibleStatement statement) booleanremoveStatementsByQuery(Resource subj, IRI pred, Value obj, boolean inferred, Resource[] contexts) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataStructureInterface
addStatement, getStatements, getSupportedOrders, removeStatement 
- 
Constructor Details
- 
EagerReadCache
 
 - 
 - 
Method Details
- 
addStatement
- Specified by:
 addStatementin interfaceDataStructureInterface
 - 
removeStatement
- Specified by:
 removeStatementin interfaceDataStructureInterface
 - 
getStatements
public CloseableIteration<? extends ExtensibleStatement> getStatements(Resource subject, IRI predicate, Value object, boolean inferred, Resource... context) - Specified by:
 getStatementsin interfaceDataStructureInterface
 - 
flushForReading
public void flushForReading()- Specified by:
 flushForReadingin interfaceDataStructureInterface
 - 
init
public void init()- Specified by:
 initin interfaceDataStructureInterface
 - 
clear
- Specified by:
 clearin interfaceDataStructureInterface
 - 
flushForCommit
public void flushForCommit()- Specified by:
 flushForCommitin interfaceDataStructureInterface
 - 
removeStatementsByQuery
public boolean removeStatementsByQuery(Resource subj, IRI pred, Value obj, boolean inferred, Resource[] contexts) - Specified by:
 removeStatementsByQueryin interfaceDataStructureInterface
 - 
clearCache
public void clearCache() - 
getEstimatedSize
public long getEstimatedSize()- Specified by:
 getEstimatedSizein interfaceDataStructureInterface
 - 
getComparator
- Specified by:
 getComparatorin interfaceDataStructureInterface
 
 -