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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StormDataContext()
StormDataContext Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(String name)
org.apache.calcite.linq4j.QueryProvider
getQueryProvider()
org.apache.calcite.schema.SchemaPlus
getRootSchema()
org.apache.calcite.adapter.java.JavaTypeFactory
getTypeFactory()
-
-
-
Method Detail
-
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
-
-