org.eigenbase.relopt
Class VisitorRelVisitor
java.lang.Object
org.eigenbase.rel.RelVisitor
org.eigenbase.relopt.VisitorRelVisitor
public class VisitorRelVisitor
- extends RelVisitor
Walks over a tree of relational expressions
, walking a RexShuttle
over every expression in that tree.
- Since:
- 22 October, 2001
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/relopt/VisitorRelVisitor.java#10 $
- Author:
- jhyde
Method Summary |
void |
visit(RelNode p,
int ordinal,
RelNode parent)
Visits a node during a traversal. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shuttle
protected final RexShuttle shuttle
VisitorRelVisitor
public VisitorRelVisitor(RexShuttle visitor)
visit
public void visit(RelNode p,
int ordinal,
RelNode parent)
- Description copied from class:
RelVisitor
- Visits a node during a traversal.
- Overrides:
visit
in class RelVisitor
- Parameters:
p
- Node to visitordinal
- Ordinal of node within its parentparent
- Parent of the node, or null if it is the root of the
traversal