Class StormDataContext

  • All Implemented Interfaces:
    Serializable, org.apache.calcite.DataContext

    public class StormDataContext
    extends Object
    implements org.apache.calcite.DataContext, Serializable
    This is based on SlimDataContext in Calcite, and borrow some from DataContextImpl in Calcite.
    See Also:
    Serialized Form
    • Constructor Detail

      • StormDataContext

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