Interface DataStructureInterface
- All Known Implementing Classes:
EagerReadCache
,EvaluationStatisticsWrapper
,LazyReadCache
An interface to implement a base data structure for the ExtensibleStore. The data structure needs to be thread safe.
- Author:
- HÃ¥vard Mikkelsen Ottestad
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
addStatement
(Collection<ExtensibleStatement> statements) void
addStatement
(ExtensibleStatement statement) default void
void
void
default long
CloseableIteration<? extends ExtensibleStatement>
getStatements
(Resource subject, IRI predicate, Value object, boolean inferred, Resource... context) void
init()
default void
removeStatement
(Collection<ExtensibleStatement> statements) void
removeStatement
(ExtensibleStatement statement) default boolean
removeStatementsByQuery
(Resource subj, IRI pred, Value obj, boolean inferred, Resource[] contexts)
-
Method Details
-
addStatement
-
removeStatement
-
addStatement
-
removeStatement
-
getStatements
CloseableIteration<? extends ExtensibleStatement> getStatements(Resource subject, IRI predicate, Value object, boolean inferred, Resource... context) -
flushForReading
void flushForReading() -
init
void init() -
clear
-
flushForCommit
void flushForCommit() -
removeStatementsByQuery
-
getEstimatedSize
default long getEstimatedSize()
-