Package org.apache.calcite.rel
Class RelVisitor
java.lang.Object
org.apache.calcite.rel.RelVisitor
- Direct Known Subclasses:
Nodes.CoreCompiler,RelTraitPropagationVisitor,RelValidityChecker
A
RelVisitor is a Visitor role in the
visitor pattern and
visits RelNode objects as the role of Element. Other components in
the pattern: RelNode.childrenAccept(RelVisitor).-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RelVisitor
public RelVisitor()
-
-
Method Details
-
visit
Visits a node during a traversal.- Parameters:
node- Node to visitordinal- Ordinal of node within its parentparent- Parent of the node, or null if it is the root of the traversal
-
replaceRoot
Replaces the root node of this traversal.- Parameters:
node- The new root node
-
go
Starts an iteration.
-