Class ElasticPlanTransformer.ElasticExpressionMapper
java.lang.Object
org.apache.calcite.rex.RexShuttle
org.apache.drill.exec.store.elasticsearch.plan.ElasticPlanTransformer.ElasticExpressionMapper
- All Implemented Interfaces:
org.apache.calcite.rex.RexVisitor<org.apache.calcite.rex.RexNode>
- Enclosing class:
- ElasticPlanTransformer
public static class ElasticPlanTransformer.ElasticExpressionMapper
extends org.apache.calcite.rex.RexShuttle
Implementation of RexShuttle that replaces RexInputRef expressions with ITEM calls to _MAP field.
-
Constructor Summary
ConstructorDescriptionElasticExpressionMapper
(org.apache.calcite.rex.RexBuilder rexBuilder, org.apache.calcite.rel.type.RelDataType relDataType, org.apache.calcite.rel.type.RelDataTypeField mapField) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.rex.RexNode
visitInputRef
(org.apache.calcite.rex.RexInputRef inputRef) Methods inherited from class org.apache.calcite.rex.RexShuttle
apply, apply, mutate, visitArray, visitCall, 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
-
ElasticExpressionMapper
public ElasticExpressionMapper(org.apache.calcite.rex.RexBuilder rexBuilder, org.apache.calcite.rel.type.RelDataType relDataType, org.apache.calcite.rel.type.RelDataTypeField mapField)
-
-
Method Details
-
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
-