protected static class EvaluationStatistics.CardinalityCalculator extends AbstractQueryModelVisitor<RuntimeException>
Modifier and Type | Field and Description |
---|---|
protected double |
cardinality |
Modifier | Constructor and Description |
---|---|
protected |
CardinalityCalculator() |
Modifier and Type | Method and Description |
---|---|
protected int |
countConstantVars(Iterable<Var> vars) |
double |
getCardinality() |
protected double |
getCardinality(StatementPattern pattern) |
void |
meet(EmptySet node) |
void |
meet(Join node) |
void |
meet(LeftJoin node) |
void |
meet(SingletonSet node) |
void |
meet(Slice slice) |
void |
meet(StatementPattern pattern) |
protected void |
meetBinaryTupleOperator(BinaryTupleOperator node)
Method called by all meet methods with a
BinaryTupleOperator node as argument. |
void |
meetMultiJoin(NaryJoin node) |
void |
meetOther(QueryModelNode node) |
meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meetBinaryValueOperator, meetCompareSubQueryValueOperator, meetNAryValueOperator, meetNode, meetSubQueryValueOperator, meetUnaryTupleOperator, meetUnaryValueOperator, meetUpdateExpr
public double getCardinality()
public void meet(EmptySet node)
meet
in interface QueryModelVisitor<RuntimeException>
meet
in class AbstractQueryModelVisitor<RuntimeException>
public void meet(SingletonSet node)
meet
in interface QueryModelVisitor<RuntimeException>
meet
in class AbstractQueryModelVisitor<RuntimeException>
public void meet(StatementPattern pattern)
meet
in interface QueryModelVisitor<RuntimeException>
meet
in class AbstractQueryModelVisitor<RuntimeException>
public void meet(Slice slice)
meet
in interface QueryModelVisitor<RuntimeException>
meet
in class AbstractQueryModelVisitor<RuntimeException>
protected double getCardinality(StatementPattern pattern)
public void meetOther(QueryModelNode node)
meetOther
in interface QueryModelVisitor<RuntimeException>
meetOther
in class AbstractQueryModelVisitor<RuntimeException>
public void meetMultiJoin(NaryJoin node)
public void meet(Join node)
meet
in interface QueryModelVisitor<RuntimeException>
meet
in class AbstractQueryModelVisitor<RuntimeException>
public void meet(LeftJoin node)
meet
in interface QueryModelVisitor<RuntimeException>
meet
in class AbstractQueryModelVisitor<RuntimeException>
protected void meetBinaryTupleOperator(BinaryTupleOperator node)
AbstractQueryModelVisitor
BinaryTupleOperator
node as argument. Forwards the call
to AbstractQueryModelVisitor.meetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default.meetBinaryTupleOperator
in class AbstractQueryModelVisitor<RuntimeException>
node
- The node that is being visited.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.