org.eigenbase.rex
Class RexProgramBuilder.RegisterInputShuttle

java.lang.Object
  extended by org.eigenbase.rex.RexShuttle
      extended by org.eigenbase.rex.RexProgramBuilder.RegisterShuttle
          extended by org.eigenbase.rex.RexProgramBuilder.RegisterInputShuttle
All Implemented Interfaces:
RexVisitor<RexNode>
Direct Known Subclasses:
RexProgramBuilder.RegisterMidputShuttle
Enclosing class:
RexProgramBuilder

private class RexProgramBuilder.RegisterInputShuttle
extends RexProgramBuilder.RegisterShuttle

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


Field Summary
private  boolean valid
           
 
Constructor Summary
protected RexProgramBuilder.RegisterInputShuttle(boolean valid)
           
 
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

valid

private final boolean valid
Constructor Detail

RexProgramBuilder.RegisterInputShuttle

protected RexProgramBuilder.RegisterInputShuttle(boolean valid)
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