net.sf.saffron.opt
Class VisitorRelVisitor

java.lang.Object
  |
  +--net.sf.saffron.rel.RelVisitor
        |
        +--net.sf.saffron.opt.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/saffron/src/net/sf/saffron/opt/VisitorRelVisitor.java#3 $
Author:
jhyde

Field Summary
protected  RexShuttle shuttle
           
 
Constructor Summary
VisitorRelVisitor(RexShuttle visitor)
           
 
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

shuttle

protected final RexShuttle shuttle
Constructor Detail

VisitorRelVisitor

public VisitorRelVisitor(RexShuttle visitor)
Method Detail

visit

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

SourceForge.net_Logo