org.eigenbase.rex
Class RexProgramBuilder.RegisterMidputShuttle

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

private class RexProgramBuilder.RegisterMidputShuttle
extends RexProgramBuilder.RegisterInputShuttle

Extension to RexProgramBuilder.RegisterInputShuttle which allows expressions to be in terms of inputs or previous common sub-expressions.


Field Summary
private  List<RexNode> localExprList
           
 
Constructor Summary
protected RexProgramBuilder.RegisterMidputShuttle(boolean valid, List<RexNode> localExprList)
           
 
Method Summary
 RexNode visitLocalRef(RexLocalRef local)
           
 
Methods inherited from class org.eigenbase.rex.RexProgramBuilder.RegisterInputShuttle
visitInputRef
 
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.RegisterMidputShuttle

protected RexProgramBuilder.RegisterMidputShuttle(boolean valid,
                                                  List<RexNode> localExprList)
Method Detail

visitLocalRef

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