Class EvaluationStatisticsWrapper
java.lang.Object
org.eclipse.rdf4j.sail.extensiblestore.evaluationstatistics.EvaluationStatisticsWrapper
- All Implemented Interfaces:
DataStructureInterface
@Experimental
public class EvaluationStatisticsWrapper
extends Object
implements DataStructureInterface
A wrapper around a data structure to support evaluation statistics that need to be notified of added or removed
statements.
-
Constructor Summary
ConstructorsConstructorDescriptionEvaluationStatisticsWrapper(DataStructureInterface delegate, DynamicStatistics dynamicStatistics) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatement(Collection<ExtensibleStatement> statements) voidaddStatement(ExtensibleStatement statement) voidvoidvoidlongCloseableIteration<? extends ExtensibleStatement>getStatements(StatementOrder statementOrder, Resource subject, IRI predicate, Value object, boolean inferred, Resource... contexts) CloseableIteration<? extends ExtensibleStatement>getStatements(Resource subject, IRI predicate, Value object, boolean inferred, Resource... context) getSupportedOrders(Resource subj, IRI pred, Value obj, boolean inferred, Resource... contexts) voidinit()voidremoveStatement(Collection<ExtensibleStatement> statements) voidremoveStatement(ExtensibleStatement statement) booleanremoveStatementsByQuery(Resource subj, IRI pred, Value obj, boolean inferred, Resource[] contexts) voidsetEvaluationStatistics(DynamicStatistics dynamicStatistics)
-
Constructor Details
-
EvaluationStatisticsWrapper
public EvaluationStatisticsWrapper(DataStructureInterface delegate, DynamicStatistics dynamicStatistics)
-
-
Method Details
-
addStatement
- Specified by:
addStatementin interfaceDataStructureInterface
-
removeStatement
- Specified by:
removeStatementin interfaceDataStructureInterface
-
getStatements
public CloseableIteration<? extends ExtensibleStatement> getStatements(Resource subject, IRI predicate, Value object, boolean inferred, Resource... context) - Specified by:
getStatementsin interfaceDataStructureInterface
-
getStatements
public CloseableIteration<? extends ExtensibleStatement> getStatements(StatementOrder statementOrder, Resource subject, IRI predicate, Value object, boolean inferred, Resource... contexts) - Specified by:
getStatementsin interfaceDataStructureInterface
-
flushForReading
public void flushForReading()- Specified by:
flushForReadingin interfaceDataStructureInterface
-
init
public void init()- Specified by:
initin interfaceDataStructureInterface
-
clear
- 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
-
addStatement
- Specified by:
addStatementin interfaceDataStructureInterface
-
removeStatement
- Specified by:
removeStatementin interfaceDataStructureInterface
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceDataStructureInterface
-
getSupportedOrders
public Set<StatementOrder> getSupportedOrders(Resource subj, IRI pred, Value obj, boolean inferred, Resource... contexts) - Specified by:
getSupportedOrdersin interfaceDataStructureInterface
-
getComparator
- Specified by:
getComparatorin interfaceDataStructureInterface
-
setEvaluationStatistics
-