org.eigenbase.rex
Class RexPermutationShuttle

java.lang.Object
  extended by org.eigenbase.rex.RexShuttle
      extended by org.eigenbase.rex.RexPermutationShuttle
All Implemented Interfaces:
RexVisitor<RexNode>

public class RexPermutationShuttle
extends RexShuttle

Visitor which replaces RexLocalRef objects after the expressions in a RexProgram have been reordered.

Version:
$Id: //open/dev/farrago/src/org/eigenbase/rex/RexPermutationShuttle.java#5 $
Author:
jhyde
See Also:
RexPermuteInputsShuttle

Field Summary
private  Permutation permutation
           
 
Constructor Summary
RexPermutationShuttle(Permutation permutation)
           
 
Method Summary
 RexNode visitLocalRef(RexLocalRef local)
           
 
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

permutation

private final Permutation permutation
Constructor Detail

RexPermutationShuttle

public RexPermutationShuttle(Permutation permutation)
Method Detail

visitLocalRef

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