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 Details

    • ConversionContext

      public ConversionContext(org.apache.calcite.plan.RelOptCluster cluster, LogicalPlan plan)
  • Method Details

    • getCluster

      public org.apache.calcite.plan.RelOptCluster getCluster()
      Specified by:
      getCluster in interface org.apache.calcite.plan.RelOptTable.ToRelContext
    • getTableHints

      public List<org.apache.calcite.rel.hint.RelHint> getTableHints()
      Specified by:
      getTableHints in interface org.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

      public org.apache.calcite.rex.RexNode toRex(LogicalExpression e)
    • getTypeFactory

      public org.apache.calcite.rel.type.RelDataTypeFactory getTypeFactory()
    • getTable

      public org.apache.calcite.plan.RelOptTable getTable(Scan scan)
    • 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 interface org.apache.calcite.plan.RelOptTable.ViewExpander