public abstract class RelVisitor extends Object
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 and Description |
|---|
RelVisitor() |
public void visit(RelNode node, int ordinal, RelNode parent)
node - Node to visitordinal - Ordinal of node within its parentparent - Parent of the node, or null if it is the root of the
traversalpublic void replaceRoot(RelNode node)
node - The new root nodeCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.