Class InterpreterTest.MyDataContext

  • All Implemented Interfaces:
    Enclosing class:

    private class InterpreterTest.MyDataContext
    extends java.lang.Object
    implements org.apache.calcite.DataContext
    Implementation of DataContext for executing queries without a connection.
    • Nested Class Summary

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

    • Field Summary

      Modifier and Type Field Description
      private planner  
      • Fields inherited from interface org.apache.calcite.DataContext

    • Constructor Summary

      Constructor Description
      MyDataContext​( planner)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object get​(java.lang.String name)  
      org.apache.calcite.linq4j.QueryProvider getQueryProvider()  
      org.apache.calcite.schema.SchemaPlus getRootSchema() getTypeFactory()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • planner

        private final planner
    • Constructor Detail

      • MyDataContext

        MyDataContext​( planner)
    • Method Detail

      • getRootSchema

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

        public 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 java.lang.Object get​(java.lang.String name)
        Specified by:
        get in interface org.apache.calcite.DataContext