Package org.spf4j.avro.calcite
Class EmbededDataContext
- java.lang.Object
-
- org.spf4j.avro.calcite.EmbededDataContext
-
- All Implemented Interfaces:
org.apache.calcite.DataContext
public final class EmbededDataContext extends Object implements org.apache.calcite.DataContext
- Author:
- Zoltan Farkas
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEPRECATIONSstatic StringSECURITY_CONTEXT
-
Constructor Summary
Constructors Constructor Description EmbededDataContext(org.apache.calcite.adapter.java.JavaTypeFactory typeFact, org.spf4j.security.AbacSecurityContext ctx)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddDeprecations(String schemaName, Map<String,String> deprecations, org.apache.calcite.DataContext ctx)static voidaddDeprecations(org.apache.avro.Schema schema, org.apache.calcite.DataContext ctx)Objectget(String name)org.apache.calcite.linq4j.QueryProvidergetQueryProvider()org.apache.calcite.schema.SchemaPlusgetRootSchema()org.apache.calcite.adapter.java.JavaTypeFactorygetTypeFactory()Objectput(String name, Object value)StringtoString()
-
-
-
Field Detail
-
DEPRECATIONS
public static final String DEPRECATIONS
- See Also:
- Constant Field Values
-
SECURITY_CONTEXT
public static final String SECURITY_CONTEXT
- See Also:
- Constant Field Values
-
-
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:
getRootSchemain interfaceorg.apache.calcite.DataContext
-
getTypeFactory
public org.apache.calcite.adapter.java.JavaTypeFactory getTypeFactory()
- Specified by:
getTypeFactoryin interfaceorg.apache.calcite.DataContext
-
getQueryProvider
public org.apache.calcite.linq4j.QueryProvider getQueryProvider()
- Specified by:
getQueryProviderin interfaceorg.apache.calcite.DataContext
-
-