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, wait
addStatement, removeStatement
public ReadCache(DataStructureInterface delegate)
public void addStatement(ExtensibleStatement statement)
addStatement
in interface DataStructureInterface
public void removeStatement(ExtensibleStatement statement)
removeStatement
in interface DataStructureInterface
public CloseableIteration<? extends ExtensibleStatement,SailException> getStatements(Resource subject, IRI predicate, Value object, boolean inferred, Resource... context)
getStatements
in interface DataStructureInterface
public void flushForReading()
flushForReading
in interface DataStructureInterface
public void init()
init
in interface DataStructureInterface
public void clear(boolean inferred, Resource[] contexts)
clear
in interface DataStructureInterface
public void flushForCommit()
flushForCommit
in interface DataStructureInterface
public boolean removeStatementsByQuery(Resource subj, IRI pred, Value obj, boolean inferred, Resource[] contexts)
removeStatementsByQuery
in interface DataStructureInterface
public void clearCache()
public void submitToCache(Long localCacheTicket, PartialStatement partialStatement, List<ExtensibleStatement> statements)
public long getEstimatedSize()
getEstimatedSize
in interface DataStructureInterface
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.