org.eigenbase.relopt.volcano
Class RelSubset.CheapestPlanReplacer
java.lang.Object
org.eigenbase.rel.RelVisitor
org.eigenbase.relopt.volcano.RelSubset.CheapestPlanReplacer
- Enclosing class:
- RelSubset
class RelSubset.CheapestPlanReplacer
- extends RelVisitor
Visitor which walks over a tree of RelSets, replacing each node
with the cheapest implementation of the expression.
|
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 |
planner
VolcanoPlanner planner
RelSubset.CheapestPlanReplacer
RelSubset.CheapestPlanReplacer(VolcanoPlanner planner)
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