com.hp.hpl.jena.graph.compose
Class MultiUnion.MultiUnionStatisticsHandler

java.lang.Object
  extended by com.hp.hpl.jena.graph.compose.MultiUnion.MultiUnionStatisticsHandler
All Implemented Interfaces:
GraphStatisticsHandler
Enclosing class:
MultiUnion

public static class MultiUnion.MultiUnionStatisticsHandler
extends Object
implements GraphStatisticsHandler


Constructor Summary
MultiUnion.MultiUnionStatisticsHandler(MultiUnion mu)
           
 
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.
 MultiUnion getUnion()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiUnion.MultiUnionStatisticsHandler

public MultiUnion.MultiUnionStatisticsHandler(MultiUnion mu)
Method Detail

getStatistic

public long getStatistic(Node S,
                         Node P,
                         Node O)
Description copied from interface: GraphStatisticsHandler
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.

Specified by:
getStatistic in interface GraphStatisticsHandler

getUnion

public MultiUnion getUnion()


Licenced under the Apache License, Version 2.0