Package org.apache.calcite.sql2rel
Class RelDecorrelator.DecorrelateRexShuttle
- java.lang.Object
-
- org.apache.calcite.rex.RexShuttle
-
- org.apache.calcite.sql2rel.RelDecorrelator.DecorrelateRexShuttle
-
- All Implemented Interfaces:
RexVisitor<RexNode>
- Enclosing class:
- RelDecorrelator
private static class RelDecorrelator.DecorrelateRexShuttle extends RexShuttle
Shuttle that decorrelates.
-
-
Field Summary
Fields Modifier and Type Field Description private RelDecorrelator.CorelMap
cm
private RelNode
currentRel
private java.util.Map<RelNode,RelDecorrelator.Frame>
map
-
Constructor Summary
Constructors Modifier Constructor Description private
DecorrelateRexShuttle(RelNode currentRel, java.util.Map<RelNode,RelDecorrelator.Frame> map, RelDecorrelator.CorelMap cm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RexNode
visitFieldAccess(RexFieldAccess fieldAccess)
RexNode
visitInputRef(RexInputRef inputRef)
-
Methods inherited from class org.apache.calcite.rex.RexShuttle
apply, apply, apply, mutate, visitArray, visitCall, visitCorrelVariable, visitDynamicParam, visitFieldCollations, visitList, visitList, visitLiteral, visitLocalRef, visitOver, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRef, visitWindow
-
-
-
-
Field Detail
-
currentRel
private final RelNode currentRel
-
map
private final java.util.Map<RelNode,RelDecorrelator.Frame> map
-
cm
private final RelDecorrelator.CorelMap cm
-
-
Constructor Detail
-
DecorrelateRexShuttle
private DecorrelateRexShuttle(RelNode currentRel, java.util.Map<RelNode,RelDecorrelator.Frame> map, RelDecorrelator.CorelMap cm)
-
-
Method Detail
-
visitFieldAccess
public RexNode visitFieldAccess(RexFieldAccess fieldAccess)
- Specified by:
visitFieldAccess
in interfaceRexVisitor<RexNode>
- Overrides:
visitFieldAccess
in classRexShuttle
-
visitInputRef
public RexNode visitInputRef(RexInputRef inputRef)
- Specified by:
visitInputRef
in interfaceRexVisitor<RexNode>
- Overrides:
visitInputRef
in classRexShuttle
-
-