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, FilterOptimizer.DeMergeFilterFinder, FilterOptimizer.FilterFinder, FilterOptimizer.FilterRelocator, FilterOptimizer.MergeFilterFinder, IterativeEvaluationOptimizer.IEOVisitor, OrderLimitOptimizer.OrderOptimizer, QueryJoinOptimizer.JoinVisitor, QueryModelNodeReplacer, QueryModelNormalizer, QueryModelPruner.TreeSanitizer, QueryModelTreePrinter, QueryModelTreeToGenericPlanNode, QueryModelVisitorBase, RegexAsStringFunctionOptimizer.RegexAsStringFunctionVisitor, SameTermFilterOptimizer.BindingSetAssignmentCollector, SameTermFilterOptimizer.SameTermFilterVisitor, SameTermFilterOptimizer.VarBinder, SameTermFilterOptimizer.VarRenamer, StatementPatternCollector, TripleRefCollector, TupleExprBuilder.SameTermCollector, TupleExprBuilder.VarCollector, VarNameCollector

public abstract class AbstractQueryModelVisitor<X extends Exception> extends Object implements QueryModelVisitor<X>
Base class for QueryModelVisitors. 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.