Interface DynamicStatistics
- All Known Implementing Classes:
ExtensibleDynamicEvaluationStatistics
Interface to support evaluation statistics that keep their own internal estimates and need to be notified of added or
removed statements.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ExtensibleStatement statement) void
remove
(ExtensibleStatement statement) void
removeByQuery
(Resource subj, IRI pred, Value obj, boolean inferred, Resource... contexts) double
staleness
(long expectedSize)
-
Method Details
-
add
-
remove
-
removeByQuery
-
staleness
double staleness(long expectedSize) - Parameters:
expectedSize
-- Returns:
- 1 if stale, 0 if not stale, 0.5 if 50% stale. Seen as, given a random statement (that has either been added, or removed), what is the probability that the statistics will return an incorrect result?
-