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
,BindingAssigner.VarVisitor
,CompareOptimizer.CompareVisitor
,ConjunctiveConstraintSplitter.ConstraintVisitor
,ConstantOptimizer.VarNameCollector
,ContextCollector
,DisjunctiveConstraintOptimizer.OrSameTermOptimizer
,EvaluationStatistics.CardinalityCalculator
,ExclusiveTupleExprOptimizer
,FilterOptimizer
,FilterOptimizer.DeMergeFilterFinder
,FilterOptimizer.FilterBindingFinder
,FilterOptimizer.FilterExprInsertVisitor
,FilterOptimizer.FilterFinder
,FilterOptimizer.FilterRelocator
,FilterOptimizer.MergeFilterFinder
,FilterOptimizer.VarFinder
,GenericInfoOptimizer
,IterativeEvaluationOptimizer.IEOVisitor
,LimitOptimizer
,OrderLimitOptimizer.OrderOptimizer
,QueryJoinOptimizer.JoinVisitor
,QueryModelNodeReplacer
,QueryModelNormalizer
,QueryModelPruner.TreeSanitizer
,QueryModelTreePrinter
,QueryModelTreeToGenericPlanNode
,QueryModelVisitorBase
,RegexAsStringFunctionOptimizer.RegexAsStringFunctionVisitor
,SameTermFilterOptimizer.BindingSetAssignmentCollector
,SameTermFilterOptimizer.SameTermFilterVisitor
,SameTermFilterOptimizer.VarBinder
,SameTermFilterOptimizer.VarRenamer
,ServiceOptimizer
,StatementGroupAndJoinOptimizer
,StatementPatternCollector
,TripleRefCollector
,TupleExprBuilder.SameTermCollector
,TupleExprBuilder.VarCollector
,UnionOptimizer
,VarNameCollector
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
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
Deprecated, for removal: This API element is subject to removal in a future version.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
-
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
Deprecated, for removal: This API element is subject to removal in a future version. -
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
-
meetOther
-
meetBinaryTupleOperator
Method called by all meet methods with aBinaryTupleOperator
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default. -
meetBinaryValueOperator
Method called by all meet methods with aBinaryValueOperator
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default. -
meetCompareSubQueryValueOperator
Method called by all meet methods with aCompareSubQueryValueOperator
node as argument. Forwards the call tomeetSubQueryValueOperator(org.eclipse.rdf4j.query.algebra.SubQueryValueOperator)
by default. -
meetNAryValueOperator
Method called by all meet methods with aNAryValueOperator
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default. -
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. -
meetSubQueryValueOperator
Method called by all meet methods with aSubQueryValueOperator
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default. -
meetUnaryTupleOperator
Method called by all meet methods with aUnaryTupleOperator
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default. -
meetUnaryValueOperator
Method called by all meet methods with aUnaryValueOperator
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default. -
meetUpdateExpr
Method called by all meet methods with aUpdateExpr
node as argument. Forwards the call tomeetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default.
-