net.sf.saffron.rex
Class RexShuttle

java.lang.Object
  |
  +--net.sf.saffron.rex.RexShuttle
Direct Known Subclasses:
OptUtil.VariableUsedVisitor, UnboundVariableCollector

public class RexShuttle
extends Object

Passes over a row-expression, calling a handler method for each node, appropriate to the type of the node.

This is an instance of the Visitor Pattern.

Since:
Nov 26, 2003
Version:
$Id: $
Author:
jhyde

Constructor Summary
RexShuttle()
           
 
Method Summary
 RexNode visit(RexCall call)
           
 RexNode visit(RexCorrelVariable variable)
           
 RexNode visit(RexInputRef input)
           
 RexNode visit(RexLiteral literal)
           
 RexNode visit(RexNode rex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RexShuttle

public RexShuttle()
Method Detail

visit

public RexNode visit(RexNode rex)

visit

public RexNode visit(RexCall call)

visit

public RexNode visit(RexCorrelVariable variable)

visit

public RexNode visit(RexInputRef input)

visit

public RexNode visit(RexLiteral literal)

SourceForge.net_Logo