public static class MultiUnion.MultiUnionStatisticsHandler extends Object implements GraphStatisticsHandler
Constructor and Description |
---|
MultiUnion.MultiUnionStatisticsHandler(MultiUnion mu) |
Modifier and Type | Method and Description |
---|---|
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() |
public MultiUnion.MultiUnionStatisticsHandler(MultiUnion mu)
public long getStatistic(Node S, Node P, Node O)
GraphStatisticsHandler
(S, P, O)
, or -1 if no good estimate is available.
The estimate is good until the graph is updated.getStatistic
in interface GraphStatisticsHandler
public MultiUnion getUnion()
Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP