Class DrillOptiq.RexToDrill
java.lang.Object
org.apache.calcite.rex.RexVisitorImpl<LogicalExpression>
org.apache.drill.exec.planner.logical.DrillOptiq.RexToDrill
- All Implemented Interfaces:
org.apache.calcite.rex.RexVisitor<LogicalExpression>
- Direct Known Subclasses:
RexToExpression.RexToDrillExt
- Enclosing class:
- DrillOptiq
public static class DrillOptiq.RexToDrill
extends org.apache.calcite.rex.RexVisitorImpl<LogicalExpression>
-
Field Summary
Fields inherited from class org.apache.calcite.rex.RexVisitorImpl
deep
-
Constructor Summary
ConstructorDescriptionRexToDrill
(DrillParseContext context, org.apache.calcite.rel.RelNode input) RexToDrill
(DrillParseContext context, org.apache.calcite.rel.type.RelDataType rowType, org.apache.calcite.rex.RexBuilder builder) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.calcite.rex.RexBuilder
protected org.apache.calcite.rel.type.RelDataType
visitCall
(org.apache.calcite.rex.RexCall call) visitCorrelVariable
(org.apache.calcite.rex.RexCorrelVariable correlVariable) visitDynamicParam
(org.apache.calcite.rex.RexDynamicParam dynamicParam) visitFieldAccess
(org.apache.calcite.rex.RexFieldAccess fieldAccess) visitInputRef
(org.apache.calcite.rex.RexInputRef inputRef) visitLiteral
(org.apache.calcite.rex.RexLiteral literal) visitLocalRef
(org.apache.calcite.rex.RexLocalRef localRef) visitOver
(org.apache.calcite.rex.RexOver over) visitRangeRef
(org.apache.calcite.rex.RexRangeRef rangeRef) Methods inherited from class org.apache.calcite.rex.RexVisitorImpl
visitArrayAnd, visitArrayOr, visitPatternFieldRef, visitSubQuery, visitTableInputRef
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
-
RexToDrill
-
RexToDrill
public RexToDrill(DrillParseContext context, org.apache.calcite.rel.type.RelDataType rowType, org.apache.calcite.rex.RexBuilder builder)
-
-
Method Details
-
getRowType
protected org.apache.calcite.rel.type.RelDataType getRowType() -
getRexBuilder
protected org.apache.calcite.rex.RexBuilder getRexBuilder() -
visitInputRef
- Specified by:
visitInputRef
in interfaceorg.apache.calcite.rex.RexVisitor<LogicalExpression>
- Overrides:
visitInputRef
in classorg.apache.calcite.rex.RexVisitorImpl<LogicalExpression>
-
visitCall
- Specified by:
visitCall
in interfaceorg.apache.calcite.rex.RexVisitor<LogicalExpression>
- Overrides:
visitCall
in classorg.apache.calcite.rex.RexVisitorImpl<LogicalExpression>
-
visitLocalRef
- Specified by:
visitLocalRef
in interfaceorg.apache.calcite.rex.RexVisitor<LogicalExpression>
- Overrides:
visitLocalRef
in classorg.apache.calcite.rex.RexVisitorImpl<LogicalExpression>
-
visitOver
- Specified by:
visitOver
in interfaceorg.apache.calcite.rex.RexVisitor<LogicalExpression>
- Overrides:
visitOver
in classorg.apache.calcite.rex.RexVisitorImpl<LogicalExpression>
-
visitCorrelVariable
public LogicalExpression visitCorrelVariable(org.apache.calcite.rex.RexCorrelVariable correlVariable) - Specified by:
visitCorrelVariable
in interfaceorg.apache.calcite.rex.RexVisitor<LogicalExpression>
- Overrides:
visitCorrelVariable
in classorg.apache.calcite.rex.RexVisitorImpl<LogicalExpression>
-
visitDynamicParam
- Specified by:
visitDynamicParam
in interfaceorg.apache.calcite.rex.RexVisitor<LogicalExpression>
- Overrides:
visitDynamicParam
in classorg.apache.calcite.rex.RexVisitorImpl<LogicalExpression>
-
visitRangeRef
- Specified by:
visitRangeRef
in interfaceorg.apache.calcite.rex.RexVisitor<LogicalExpression>
- Overrides:
visitRangeRef
in classorg.apache.calcite.rex.RexVisitorImpl<LogicalExpression>
-
visitFieldAccess
- Specified by:
visitFieldAccess
in interfaceorg.apache.calcite.rex.RexVisitor<LogicalExpression>
- Overrides:
visitFieldAccess
in classorg.apache.calcite.rex.RexVisitorImpl<LogicalExpression>
-
visitLiteral
- Specified by:
visitLiteral
in interfaceorg.apache.calcite.rex.RexVisitor<LogicalExpression>
- Overrides:
visitLiteral
in classorg.apache.calcite.rex.RexVisitorImpl<LogicalExpression>
-