Class TupleFunctionEvaluationStatistics.TupleFunctionCardinalityCalculator
java.lang.Object
org.eclipse.rdf4j.query.algebra.helpers.AbstractQueryModelVisitor<RuntimeException>
org.eclipse.rdf4j.query.algebra.evaluation.impl.EvaluationStatistics.CardinalityCalculator
org.eclipse.rdf4j.query.algebra.evaluation.impl.TupleFunctionEvaluationStatistics.TupleFunctionCardinalityCalculator
- All Implemented Interfaces:
QueryModelVisitor<RuntimeException>
- Enclosing class:
TupleFunctionEvaluationStatistics
protected static class TupleFunctionEvaluationStatistics.TupleFunctionCardinalityCalculator
extends EvaluationStatistics.CardinalityCalculator
-
Field Summary
Fields inherited from class EvaluationStatistics.CardinalityCalculator
cardinality -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidmeetNode(QueryModelNode node) Method called by all of the other meet methods that are not overridden in subclasses.Methods inherited from class EvaluationStatistics.CardinalityCalculator
countConstantVars, getCardinality, getCardinality, getCardinality, getCardinality, getCardinality, getCardinality, getContextCardinality, getContextCardinality, getObjectCardinality, getObjectCardinality, getPredicateCardinality, getPredicateCardinality, getSubjectCardinality, getSubjectCardinality, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meetBinaryTupleOperator, meetUnaryTupleOperatorModifier and TypeMethodDescriptionprotected intcountConstantVars(Iterable<Var> vars) doubleprotected doublegetCardinality(double varCardinality, Collection<Var> vars) protected doublegetCardinality(double varCardinality, Var var) protected doublegetCardinality(BindingSetAssignment bindingSetAssignment) protected doubleprotected doublegetCardinality(TripleRef tripleRef) protected doubleOverride this if you are able to determine the cardinality based not only on the contextVar itself but also the other vars (e.g. the subject value might determine a context subset).protected doublegetContextCardinality(Var var) protected doubleOverride this if you are able to determine the cardinality based not only on the objectVar itself but also the other vars (e.g. the predicate value might determine an object subset).protected doublegetObjectCardinality(Var var) protected doubleOverride this if you are able to determine the cardinality based not only on the predicateVar itself but also the other vars (e.g. the subject value might determine a predicate subset).protected doubleprotected doubleOverride this if you are able to determine the cardinality based not only on the subjectVar itself but also the other vars (e.g. the predicate value might determine a subject subset).protected doublegetSubjectCardinality(Var var) voidmeet(ArbitraryLengthPath node) voidmeet(BindingSetAssignment node) voidvoidvoidvoidvoidvoidmeet(SingletonSet node) voidmeet(StatementPattern sp) voidvoidmeet(ZeroLengthPath node) protected voidMethod called by all meet methods with aBinaryTupleOperatornode as argument.protected voidMethod called by all meet methods with aUnaryTupleOperatornode as argument.Methods inherited from class AbstractQueryModelVisitor
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, meetOther, meetSubQueryValueOperator, meetUnaryValueOperator, meetUpdateExprModifier and TypeMethodDescriptionvoidvoidmeet(AggregateFunctionCall node) voidvoidvoidmeet(BNodeGenerator node) voidvoidvoidvoidvoidmeet(CompareAll node) voidmeet(CompareAny node) voidvoidvoidvoidvoidmeet(DeleteData node) voidmeet(DescribeOperator node) voidmeet(Difference node) voidvoidvoidvoidmeet(ExtensionElem node) voidvoidmeet(FunctionCall node) voidvoidmeet(GroupConcat node) voidvoidvoidvoidmeet(InsertData node) voidmeet(Intersection node) voidmeet(IRIFunction node) voidvoidvoidvoidmeet(IsResource node) voidvoidvoidvoidmeet(LangMatches node) voidmeet(ListMemberOperator node) voidvoidvoidvoidvoidvoidvoidvoidmeet(MultiProjection node) voidvoidvoidvoidvoidvoidmeet(Projection node) voidmeet(ProjectionElem node) voidmeet(ProjectionElemList node) voidvoidvoidvoidvoidvoidvoidvoidvoidmeet(ValueConstant node) voidmeet(ValueExprTripleRef node) voidprotected voidMethod called by all meet methods with aBinaryValueOperatornode as argument.protected voidMethod called by all meet methods with aCompareSubQueryValueOperatornode as argument.protected voidMethod called by all meet methods with aNAryValueOperatornode as argument.voidmeetOther(QueryModelNode node) protected voidMethod called by all meet methods with aSubQueryValueOperatornode as argument.protected voidMethod called by all meet methods with aUnaryValueOperatornode as argument.protected voidmeetUpdateExpr(UpdateExpr node) Method called by all meet methods with aUpdateExprnode as argument.
-
Constructor Details
-
TupleFunctionCardinalityCalculator
protected TupleFunctionCardinalityCalculator()
-
-
Method Details
-
meetNode
Description copied from class:AbstractQueryModelVisitorMethod called by all of the other meet methods that are not overridden in subclasses. This method can be overridden in subclasses to define default behaviour when visiting nodes. The default behaviour of this method is to visit the node's children.- Overrides:
meetNodein classEvaluationStatistics.CardinalityCalculator- Parameters:
node- The node that is being visited.
-