Class LazyReadCache
- java.lang.Object
-
- org.eclipse.rdf4j.sail.extensiblestore.LazyReadCache
-
- All Implemented Interfaces:
DataStructureInterface
public class LazyReadCache extends Object implements DataStructureInterface
-
-
Constructor Summary
Constructors Constructor Description LazyReadCache(DataStructureInterface delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStatement(ExtensibleStatement statement)voidclear(boolean inferred, Resource[] contexts)voidclearCache()voidflushForCommit()voidflushForReading()longgetEstimatedSize()CloseableIteration<? 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)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, wait
-
Methods inherited from interface org.eclipse.rdf4j.sail.extensiblestore.DataStructureInterface
addStatement, removeStatement
-
-
-
-
Constructor Detail
-
LazyReadCache
public LazyReadCache(DataStructureInterface delegate)
-
-
Method Detail
-
addStatement
public void addStatement(ExtensibleStatement statement)
- Specified by:
addStatementin interfaceDataStructureInterface
-
removeStatement
public void removeStatement(ExtensibleStatement statement)
- 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
public void clear(boolean inferred, Resource[] contexts)- 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
-
-