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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.rex.RexNodevisitCall(org.apache.calcite.rex.RexCall call) org.apache.calcite.rex.RexNodevisitInputRef(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, visitWindowMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
visitCallin interfaceorg.apache.calcite.rex.RexVisitor<org.apache.calcite.rex.RexNode>- Overrides:
visitCallin classorg.apache.calcite.rex.RexShuttle
-
visitInputRef
public org.apache.calcite.rex.RexNode visitInputRef(org.apache.calcite.rex.RexInputRef inputRef) - Specified by:
visitInputRefin interfaceorg.apache.calcite.rex.RexVisitor<org.apache.calcite.rex.RexNode>- Overrides:
visitInputRefin classorg.apache.calcite.rex.RexShuttle
-