Class SimpleRexRemap.FieldsMarker
java.lang.Object
org.apache.calcite.rex.RexVisitorImpl<PathSegment>
org.apache.drill.exec.planner.index.SimpleRexRemap.FieldsMarker
- All Implemented Interfaces:
org.apache.calcite.rex.RexVisitor<PathSegment>
- Enclosing class:
SimpleRexRemap
public static class SimpleRexRemap.FieldsMarker
extends org.apache.calcite.rex.RexVisitorImpl<PathSegment>
This class go through the RexNode, collect all the fieldNames, mark starting positions(RexNode) of fields
so this information can be used later e,.g. replaced with a substitute node
-
Field Summary
Fields inherited from class org.apache.calcite.rex.RexVisitorImpl
deep -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvisitCall(org.apache.calcite.rex.RexCall call) visitInputRef(org.apache.calcite.rex.RexInputRef inputRef) Methods inherited from class org.apache.calcite.rex.RexVisitorImpl
visitArrayAnd, visitArrayOr, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitLiteral, visitLocalRef, visitOver, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRefMethods 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
-
FieldsMarker
public FieldsMarker(org.apache.calcite.rel.type.RelDataType rowType)
-
-
Method Details
-
getFieldAndPos
-
visitInputRef
- Specified by:
visitInputRefin interfaceorg.apache.calcite.rex.RexVisitor<PathSegment>- Overrides:
visitInputRefin classorg.apache.calcite.rex.RexVisitorImpl<PathSegment>
-
visitCall
- Specified by:
visitCallin interfaceorg.apache.calcite.rex.RexVisitor<PathSegment>- Overrides:
visitCallin classorg.apache.calcite.rex.RexVisitorImpl<PathSegment>
-