Package org.apache.calcite.rex
Class RexProgramBuilder.UpdateRefShuttle
- java.lang.Object
-
- org.apache.calcite.rex.RexShuttle
-
- org.apache.calcite.rex.RexProgramBuilder.UpdateRefShuttle
-
- All Implemented Interfaces:
RexVisitor<RexNode>
- Enclosing class:
- RexProgramBuilder
private class RexProgramBuilder.UpdateRefShuttle extends RexShuttle
Shuttle which rewiresRexLocalRef
using a list of updated references
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<RexLocalRef>
newRefs
-
Constructor Summary
Constructors Modifier Constructor Description private
UpdateRefShuttle(java.util.List<RexLocalRef> newRefs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RexNode
visitLocalRef(RexLocalRef localRef)
-
Methods inherited from class org.apache.calcite.rex.RexShuttle
apply, apply, apply, mutate, visitArray, visitCall, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitFieldCollations, visitInputRef, visitList, visitList, visitLiteral, visitOver, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRef, visitWindow
-
-
-
-
Field Detail
-
newRefs
private java.util.List<RexLocalRef> newRefs
-
-
Constructor Detail
-
UpdateRefShuttle
private UpdateRefShuttle(java.util.List<RexLocalRef> newRefs)
-
-
Method Detail
-
visitLocalRef
public RexNode visitLocalRef(RexLocalRef localRef)
- Specified by:
visitLocalRef
in interfaceRexVisitor<RexNode>
- Overrides:
visitLocalRef
in classRexShuttle
-
-