Class DrillDataContext

java.lang.Object
org.apache.drill.exec.store.enumerable.DrillDataContext
All Implemented Interfaces:
org.apache.calcite.DataContext

public class DrillDataContext extends Object implements org.apache.calcite.DataContext
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.calcite.DataContext

    org.apache.calcite.DataContext.Variable
  • Field Summary

    Fields inherited from interface org.apache.calcite.DataContext

    ROOT
  • Constructor Summary

    Constructors
    Constructor
    Description
    DrillDataContext(org.apache.calcite.schema.SchemaPlus rootSchema, org.apache.calcite.adapter.java.JavaTypeFactory typeFactory, Map<String,Object> properties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String name)
     
    org.apache.calcite.linq4j.QueryProvider
     
    org.apache.calcite.schema.SchemaPlus
     
    org.apache.calcite.adapter.java.JavaTypeFactory
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DrillDataContext

      public DrillDataContext(org.apache.calcite.schema.SchemaPlus rootSchema, org.apache.calcite.adapter.java.JavaTypeFactory typeFactory, Map<String,Object> properties)
  • Method Details

    • getRootSchema

      public org.apache.calcite.schema.SchemaPlus getRootSchema()
      Specified by:
      getRootSchema in interface org.apache.calcite.DataContext
    • getTypeFactory

      public org.apache.calcite.adapter.java.JavaTypeFactory getTypeFactory()
      Specified by:
      getTypeFactory in interface org.apache.calcite.DataContext
    • getQueryProvider

      public org.apache.calcite.linq4j.QueryProvider getQueryProvider()
      Specified by:
      getQueryProvider in interface org.apache.calcite.DataContext
    • get

      public Object get(String name)
      Specified by:
      get in interface org.apache.calcite.DataContext