net.sf.saffron.opt
Class RelSubset.CheapestPlanReplacer

java.lang.Object
  |
  +--net.sf.saffron.rel.RelVisitor
        |
        +--net.sf.saffron.opt.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.


Field Summary
(package private)  SaffronPlanner planner
           
 
Constructor Summary
(package private) RelSubset.CheapestPlanReplacer(SaffronPlanner planner)
           
 
Method Summary
 void visit(SaffronRel p, int ordinal, SaffronRel parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

planner

SaffronPlanner planner
Constructor Detail

RelSubset.CheapestPlanReplacer

RelSubset.CheapestPlanReplacer(SaffronPlanner planner)
Method Detail

visit

public void visit(SaffronRel p,
                  int ordinal,
                  SaffronRel parent)
Overrides:
visit in class RelVisitor

SourceForge.net_Logo