Class EmbededDataContext

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

    public final class EmbededDataContext
    extends Object
    implements org.apache.calcite.DataContext
    Author:
    Zoltan Farkas
    • Constructor Detail

      • EmbededDataContext

        public EmbededDataContext​(org.apache.calcite.adapter.java.JavaTypeFactory typeFact,
                                  @Nullable
                                  org.spf4j.security.AbacSecurityContext ctx)
    • Method Detail

      • addDeprecations

        public static void addDeprecations​(org.apache.avro.Schema schema,
                                           org.apache.calcite.DataContext ctx)
      • addDeprecations

        public static void addDeprecations​(String schemaName,
                                           Map<String,​String> deprecations,
                                           org.apache.calcite.DataContext ctx)
      • 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