Package net.hydromatic.morel.foreign
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
FieldsModifier and TypeFieldDescriptionprivate final org.apache.calcite.schema.SchemaPlusprivate final org.apache.calcite.adapter.java.JavaTypeFactoryFields inherited from interface org.apache.calcite.DataContext
ROOT -
Constructor Summary
ConstructorsConstructorDescriptionEmptyDataContext(org.apache.calcite.adapter.java.JavaTypeFactory typeFactory, org.apache.calcite.schema.SchemaPlus rootSchema) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.linq4j.QueryProviderorg.apache.calcite.schema.SchemaPlusorg.apache.calcite.adapter.java.JavaTypeFactory
-
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:
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
-
get
- Specified by:
getin interfaceorg.apache.calcite.DataContext
-