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