public class ReadCache extends Object implements DataStructureInterface
| Constructor and Description |
|---|
ReadCache(DataStructureInterface delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStatement(ExtensibleStatement statement) |
void |
clear(boolean inferred,
Resource[] contexts) |
void |
clearCache() |
void |
flushForCommit() |
void |
flushForReading() |
long |
getEstimatedSize() |
CloseableIteration<? extends ExtensibleStatement,SailException> |
getStatements(Resource subject,
IRI predicate,
Value object,
boolean inferred,
Resource... context) |
void |
init() |
void |
removeStatement(ExtensibleStatement statement) |
boolean |
removeStatementsByQuery(Resource subj,
IRI pred,
Value obj,
boolean inferred,
Resource[] contexts) |
void |
submitToCache(Long localCacheTicket,
PartialStatement partialStatement,
List<ExtensibleStatement> statements) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStatement, removeStatementpublic ReadCache(DataStructureInterface delegate)
public void addStatement(ExtensibleStatement statement)
addStatement in interface DataStructureInterfacepublic void removeStatement(ExtensibleStatement statement)
removeStatement in interface DataStructureInterfacepublic CloseableIteration<? extends ExtensibleStatement,SailException> getStatements(Resource subject, IRI predicate, Value object, boolean inferred, Resource... context)
getStatements in interface DataStructureInterfacepublic void flushForReading()
flushForReading in interface DataStructureInterfacepublic void init()
init in interface DataStructureInterfacepublic void clear(boolean inferred,
Resource[] contexts)
clear in interface DataStructureInterfacepublic void flushForCommit()
flushForCommit in interface DataStructureInterfacepublic boolean removeStatementsByQuery(Resource subj, IRI pred, Value obj, boolean inferred, Resource[] contexts)
removeStatementsByQuery in interface DataStructureInterfacepublic void clearCache()
public void submitToCache(Long localCacheTicket, PartialStatement partialStatement, List<ExtensibleStatement> statements)
public long getEstimatedSize()
getEstimatedSize in interface DataStructureInterfaceCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.