org.eigenbase.rex
Class RexProgramBuilder.RegisterOutputShuttle

java.lang.Object
  extended by org.eigenbase.rex.RexShuttle
      extended by org.eigenbase.rex.RexProgramBuilder.RegisterShuttle
          extended by org.eigenbase.rex.RexProgramBuilder.RegisterOutputShuttle
All Implemented Interfaces:
RexVisitor<RexNode>
Enclosing class:
RexProgramBuilder

private class RexProgramBuilder.RegisterOutputShuttle
extends RexProgramBuilder.RegisterShuttle

Shuttle which walks over an expression, registering each sub-expression. Each RexInputRef is assumed to refer to an output of the program.


Field Summary
private  List<RexNode> localExprList
           
 
Constructor Summary
RexProgramBuilder.RegisterOutputShuttle(List<RexNode> localExprList)
           
 
Method Summary
 RexNode visitInputRef(RexInputRef input)
           
 RexNode visitLocalRef(RexLocalRef local)
           
 
Methods inherited from class org.eigenbase.rex.RexProgramBuilder.RegisterShuttle
visitCall, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitLiteral, visitOver
 
Methods inherited from class org.eigenbase.rex.RexShuttle
apply, apply, visitArray, visitRangeRef, visitWindow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localExprList

private final List<RexNode> localExprList
Constructor Detail

RexProgramBuilder.RegisterOutputShuttle

public RexProgramBuilder.RegisterOutputShuttle(List<RexNode> localExprList)
Method Detail

visitInputRef

public RexNode visitInputRef(RexInputRef input)
Specified by:
visitInputRef in interface RexVisitor<RexNode>
Overrides:
visitInputRef in class RexShuttle

visitLocalRef

public RexNode visitLocalRef(RexLocalRef local)
Specified by:
visitLocalRef in interface RexVisitor<RexNode>
Overrides:
visitLocalRef in class RexShuttle