Class AbstractQueryModelVisitor<X extends Exception>
java.lang.Object
org.eclipse.rdf4j.query.algebra.helpers.AbstractQueryModelVisitor<X>
- All Implemented Interfaces:
QueryModelVisitor<X>
- Direct Known Subclasses:
BaseTupleExprRenderer
,BGPCollector
,ContextCollector
,EvaluationStatistics.CardinalityCalculator
,QueryModelTreePrinter
,QueryModelTreeToGenericPlanNode
,TripleRefCollector
,TupleExprBuilder.SameTermCollector
,TupleExprBuilder.VarCollector
public abstract class AbstractQueryModelVisitor<X extends Exception>
extends Object
implements QueryModelVisitor<X>
Base class for
QueryModelVisitor
s. This class implements all meet(... node) methods from the
visitor interface, forwarding the call to a method for the node's supertype. This is done recursively until
meetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
is reached. This allows subclasses to easily define default behaviour for visited nodes of a
certain type. The default implementation of meetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
is to visit the node's children.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
meet
(AggregateFunctionCall node) void
void
meet
(ArbitraryLengthPath node) void
void
meet
(BindingSetAssignment node) void
meet
(BNodeGenerator node) void
void
void
void
void
meet
(CompareAll node) void
meet
(CompareAny node) void
void
void
void
void
meet
(DeleteData node) void
meet
(DescribeOperator node) void
meet
(Difference node) void
void
void
void
void
meet
(ExtensionElem node) void
void
meet
(FunctionCall node) void
void
meet
(GroupConcat node) void
void
void
void
meet
(InsertData node) void
meet
(Intersection node) void
meet
(IRIFunction node) void
void
void
void
meet
(IsResource node) void
void
void
void
void
meet
(LangMatches node) void
void
meet
(ListMemberOperator node) void
void
void
void
void
void
void
void
meet
(MultiProjection node) void
void
void
void
void
void
meet
(Projection node) void
meet
(ProjectionElem node) void
meet
(ProjectionElemList node) void
void
void
void
void
void
void
meet
(SingletonSet node) void
void
meet
(StatementPattern node) void
void
void
void
void
meet
(ValueConstant node) void
meet
(ValueExprTripleRef node) void
void
meet
(ZeroLengthPath node) protected void
Method called by all meet methods with aBinaryTupleOperator
node as argument.protected void
Method called by all meet methods with aBinaryValueOperator
node as argument.protected void
Method called by all meet methods with aCompareSubQueryValueOperator
node as argument.protected void
Method called by all meet methods with aNAryValueOperator
node as argument.protected void
meetNode
(QueryModelNode node) Method called by all of the other meet methods that are not overridden in subclasses.void
meetOther
(QueryModelNode node) protected void
Method called by all meet methods with aSubQueryValueOperator
node as argument.protected void
Method called by all meet methods with aUnaryTupleOperator
node as argument.protected void
Method called by all meet methods with aUnaryValueOperator
node as argument.protected void
meetUpdateExpr
(UpdateExpr node) Method called by all meet methods with aUpdateExpr
node as argument.
-
Constructor Details
-
AbstractQueryModelVisitor
public AbstractQueryModelVisitor()
-
-
Method Details
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meetOther
- Specified by:
meetOther
in interfaceQueryModelVisitor<X extends Exception>
- Throws:
X
-
meetBinaryTupleOperator
Method called by all meet methods with aBinaryTupleOperator
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default.- Parameters:
node
- The node that is being visited.- Throws:
X
-
meetBinaryValueOperator
Method called by all meet methods with aBinaryValueOperator
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default.- Parameters:
node
- The node that is being visited.- Throws:
X
-
meetCompareSubQueryValueOperator
Method called by all meet methods with aCompareSubQueryValueOperator
node as argument. Forwards the call tomeetSubQueryValueOperator(org.eclipse.rdf4j.query.algebra.SubQueryValueOperator)
by default.- Parameters:
node
- The node that is being visited.- Throws:
X
-
meetNAryValueOperator
Method called by all meet methods with aNAryValueOperator
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default.- Parameters:
node
- The node that is being visited.- Throws:
X
-
meetNode
Method 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.- Parameters:
node
- The node that is being visited.- Throws:
X
-
meetSubQueryValueOperator
Method called by all meet methods with aSubQueryValueOperator
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default.- Parameters:
node
- The node that is being visited.- Throws:
X
-
meetUnaryTupleOperator
Method called by all meet methods with aUnaryTupleOperator
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default.- Parameters:
node
- The node that is being visited.- Throws:
X
-
meetUnaryValueOperator
Method called by all meet methods with aUnaryValueOperator
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default.- Parameters:
node
- The node that is being visited.- Throws:
X
-
meetUpdateExpr
Method called by all meet methods with aUpdateExpr
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default.- Parameters:
node
- The node that is being visited.- Throws:
X
-