Class Calcite.EmptyDataContext

java.lang.Object
net.hydromatic.morel.foreign.Calcite.EmptyDataContext
All Implemented Interfaces:
org.apache.calcite.DataContext
Enclosing class:
Calcite

private static class Calcite.EmptyDataContext extends 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 final org.apache.calcite.schema.SchemaPlus
     
    private final org.apache.calcite.adapter.java.JavaTypeFactory
     

    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

    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
  • Field Details

    • typeFactory

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

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

    • EmptyDataContext

      EmptyDataContext(org.apache.calcite.adapter.java.JavaTypeFactory typeFactory, org.apache.calcite.schema.SchemaPlus rootSchema)
  • 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