Class DrillRelOptUtil.RexFieldsTransformer
java.lang.Object
org.apache.drill.exec.planner.common.DrillRelOptUtil.RexFieldsTransformer
- Enclosing class:
- DrillRelOptUtil
RexFieldsTransformer is a utility class used to convert column refs in a RexNode
based on inputRefMap (input to output ref map).
This transformer can be used to find and replace the existing inputRef in a RexNode with a new inputRef.
-
Constructor Summary
ConstructorDescriptionRexFieldsTransformer
(org.apache.calcite.rex.RexBuilder rexBuilder, Map<Integer, Integer> inputRefMap) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.rex.RexNode
go
(org.apache.calcite.rex.RexNode rex)
-
Constructor Details
-
RexFieldsTransformer
-
-
Method Details
-
go
public org.apache.calcite.rex.RexNode go(org.apache.calcite.rex.RexNode rex)
-