Class ConversionContext
java.lang.Object
org.apache.drill.exec.planner.torel.ConversionContext
- All Implemented Interfaces:
org.apache.calcite.plan.RelOptTable.ToRelContext
,org.apache.calcite.plan.RelOptTable.ViewExpander
public class ConversionContext
extends Object
implements org.apache.calcite.plan.RelOptTable.ToRelContext
-
Constructor Summary
ConstructorDescriptionConversionContext
(org.apache.calcite.plan.RelOptCluster cluster, LogicalPlan plan) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.rel.RelRoot
expandView
(org.apache.calcite.rel.type.RelDataType rowType, String queryString, List<String> schemaPath, List<String> viewPath) org.apache.calcite.plan.RelOptCluster
org.apache.calcite.plan.RelTraitSet
org.apache.calcite.rex.RexBuilder
org.apache.calcite.plan.RelOptTable
List<org.apache.calcite.rel.hint.RelHint>
org.apache.calcite.rel.type.RelDataTypeFactory
org.apache.calcite.rel.RelNode
toRel
(LogicalOperator operator) org.apache.calcite.rex.RexNode
-
Constructor Details
-
ConversionContext
-
-
Method Details
-
getCluster
public org.apache.calcite.plan.RelOptCluster getCluster()- Specified by:
getCluster
in interfaceorg.apache.calcite.plan.RelOptTable.ToRelContext
-
getTableHints
- Specified by:
getTableHints
in interfaceorg.apache.calcite.plan.RelOptTable.ToRelContext
-
getRexBuilder
public org.apache.calcite.rex.RexBuilder getRexBuilder() -
getLogicalTraits
public org.apache.calcite.plan.RelTraitSet getLogicalTraits() -
toRel
public org.apache.calcite.rel.RelNode toRel(LogicalOperator operator) throws org.apache.calcite.rel.InvalidRelException - Throws:
org.apache.calcite.rel.InvalidRelException
-
toRex
-
getTypeFactory
public org.apache.calcite.rel.type.RelDataTypeFactory getTypeFactory() -
getTable
-
expandView
public org.apache.calcite.rel.RelRoot expandView(org.apache.calcite.rel.type.RelDataType rowType, String queryString, List<String> schemaPath, List<String> viewPath) - Specified by:
expandView
in interfaceorg.apache.calcite.plan.RelOptTable.ViewExpander
-