Class StormDataContext
java.lang.Object
org.apache.storm.sql.runtime.calcite.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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.calcite.DataContext
org.apache.calcite.DataContext.Variable
-
Field Summary
Fields inherited from interface org.apache.calcite.DataContext
ROOT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.linq4j.QueryProvider
org.apache.calcite.schema.SchemaPlus
org.apache.calcite.adapter.java.JavaTypeFactory
-
Constructor Details
-
StormDataContext
public StormDataContext()StormDataContext Constructor.
-
-
Method Details
-
getRootSchema
public org.apache.calcite.schema.SchemaPlus getRootSchema()- Specified by:
getRootSchema
in interfaceorg.apache.calcite.DataContext
-
getTypeFactory
public org.apache.calcite.adapter.java.JavaTypeFactory getTypeFactory()- Specified by:
getTypeFactory
in interfaceorg.apache.calcite.DataContext
-
getQueryProvider
public org.apache.calcite.linq4j.QueryProvider getQueryProvider()- Specified by:
getQueryProvider
in interfaceorg.apache.calcite.DataContext
-
get
- Specified by:
get
in interfaceorg.apache.calcite.DataContext
-