org.eigenbase.rex
Class RexProgramBuilder.UpdateRefShuttle

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

private class RexProgramBuilder.UpdateRefShuttle
extends RexShuttle

Shuttle which rewires RexLocalRef using a list of updated references


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

Field Detail

newRefs

private List<RexLocalRef> newRefs
Constructor Detail

RexProgramBuilder.UpdateRefShuttle

private RexProgramBuilder.UpdateRefShuttle(List<RexLocalRef> newRefs)
Method Detail

visitLocalRef

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