Class LazyReadCache
java.lang.Object
org.eclipse.rdf4j.sail.extensiblestore.LazyReadCache
- All Implemented Interfaces:
DataStructureInterface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatement(ExtensibleStatement statement) voidvoidvoidvoidlongCloseableIteration<? extends ExtensibleStatement,SailException> 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) voidsubmitToCache(Long localCacheTicket, PartialStatement partialStatement, List<ExtensibleStatement> statements) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.rdf4j.sail.extensiblestore.DataStructureInterface
addStatement, removeStatement
-
Constructor Details
-
LazyReadCache
-
-
Method Details
-
addStatement
- Specified by:
addStatementin interfaceDataStructureInterface
-
removeStatement
- Specified by:
removeStatementin interfaceDataStructureInterface
-
getStatements
public CloseableIteration<? extends ExtensibleStatement,SailException> 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() -
submitToCache
public void submitToCache(Long localCacheTicket, PartialStatement partialStatement, List<ExtensibleStatement> statements) -
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceDataStructureInterface
-