Class FieldsReWriterUtil.FieldsReWriter
java.lang.Object
org.apache.calcite.rex.RexShuttle
org.apache.drill.exec.planner.logical.FieldsReWriterUtil.FieldsReWriter
- All Implemented Interfaces:
org.apache.calcite.rex.RexVisitor<org.apache.calcite.rex.RexNode>
- Enclosing class:
- FieldsReWriterUtil
public static class FieldsReWriterUtil.FieldsReWriter
extends org.apache.calcite.rex.RexShuttle
Replaces original node with provided in mapper, otherwise returns original node.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.rex.RexNode
visitCall
(org.apache.calcite.rex.RexCall call) org.apache.calcite.rex.RexNode
visitInputRef
(org.apache.calcite.rex.RexInputRef inputRef) Methods inherited from class org.apache.calcite.rex.RexShuttle
apply, apply, mutate, visitArray, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitFieldCollations, visitList, visitLiteral, visitLocalRef, visitOver, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRef, visitWindow
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.calcite.rex.RexVisitor
visitEach, visitList, visitList
-
Constructor Details
-
FieldsReWriter
-
-
Method Details
-
visitCall
public org.apache.calcite.rex.RexNode visitCall(org.apache.calcite.rex.RexCall call) - Specified by:
visitCall
in interfaceorg.apache.calcite.rex.RexVisitor<org.apache.calcite.rex.RexNode>
- Overrides:
visitCall
in classorg.apache.calcite.rex.RexShuttle
-
visitInputRef
public org.apache.calcite.rex.RexNode visitInputRef(org.apache.calcite.rex.RexInputRef inputRef) - Specified by:
visitInputRef
in interfaceorg.apache.calcite.rex.RexVisitor<org.apache.calcite.rex.RexNode>
- Overrides:
visitInputRef
in classorg.apache.calcite.rex.RexShuttle
-