com.hp.hpl.jena.graph
Interface GraphStatisticsHandler

All Known Implementing Classes:
MultiUnion.MultiUnionStatisticsHandler

public interface GraphStatisticsHandler

A graph's StatisticsHandler offers access to some statistics about that graph's contents that might be useful for optimisation.

Author:
kers

Method Summary
 long getStatistic(Node S, Node P, Node O)
          Answer a good estimate of the number of triples that would match the pattern (S, P, O), or -1 if no good estimate is available.
 

Method Detail

getStatistic

long getStatistic(Node S,
                  Node P,
                  Node O)
Answer a good estimate of the number of triples that would match the pattern (S, P, O), or -1 if no good estimate is available. The estimate is good until the graph is updated.



Licenced under the Apache License, Version 2.0