All Known Implementing Classes:
ExtensibleDynamicEvaluationStatistics

@Experimental public interface DynamicStatistics
Interface to support evaluation statistics that keep their own internal estimates and need to be notified of added or removed statements.
  • Method Details

    • add

      void add(ExtensibleStatement statement)
    • remove

      void remove(ExtensibleStatement statement)
    • removeByQuery

      void removeByQuery(Resource subj, IRI pred, Value obj, boolean inferred, Resource... contexts)
    • 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?