public static class MultiUnion.MultiUnionStatisticsHandler extends Object implements GraphStatisticsHandler
Constructor and Description |
---|
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 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()
Licenced under the Apache License, Version 2.0