Class CalciteForeignValue.EmptyDataContext

  • All Implemented Interfaces:
    org.apache.calcite.DataContext
    Enclosing class:
    CalciteForeignValue

    private static class CalciteForeignValue.EmptyDataContext
    extends java.lang.Object
    implements org.apache.calcite.DataContext
    Data context that has no variables.
    • Nested Class Summary

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

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

      Fields 
      Modifier and Type Field Description
      private org.apache.calcite.schema.SchemaPlus rootSchema  
      private org.apache.calcite.adapter.java.JavaTypeFactory typeFactory  
      • Fields inherited from interface org.apache.calcite.DataContext

        ROOT
    • Constructor Summary

      Constructors 
      Constructor Description
      EmptyDataContext​(org.apache.calcite.adapter.java.JavaTypeFactory typeFactory, org.apache.calcite.schema.SchemaPlus rootSchema)  
    • 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()  
      org.apache.calcite.adapter.java.JavaTypeFactory getTypeFactory()  
      • Methods inherited from class java.lang.Object

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

      • typeFactory

        private final org.apache.calcite.adapter.java.JavaTypeFactory typeFactory
      • rootSchema

        private final org.apache.calcite.schema.SchemaPlus rootSchema
    • Constructor Detail

      • EmptyDataContext

        EmptyDataContext​(org.apache.calcite.adapter.java.JavaTypeFactory typeFactory,
                         org.apache.calcite.schema.SchemaPlus rootSchema)
    • Method Detail

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