Package org.apache.calcite.jdbc
Interface CalcitePrepare.Context
-
- All Known Implementing Classes:
CalciteConnectionImpl.ContextImpl
- Enclosing interface:
- CalcitePrepare
public static interface CalcitePrepare.Context
Context for preparing a statement.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CalciteConnectionConfig
config()
DataContext
getDataContext()
java.util.List<java.lang.String>
getDefaultSchemaPath()
CalciteSchema
getMutableRootSchema()
Returns the root schema for statements that need to be able to modify schemas and have the results available to other statements.java.util.List<java.lang.String>
getObjectPath()
Returns the path of the object being analyzed, or null.RelRunner
getRelRunner()
Gets a runner; it can execute a relational expression.CalciteSchema
getRootSchema()
Returns the root schema for statements that need a read-consistent snapshot.JavaTypeFactory
getTypeFactory()
CalcitePrepare.SparkHandler
spark()
Returns the spark handler.
-
-
-
Method Detail
-
getTypeFactory
JavaTypeFactory getTypeFactory()
-
getRootSchema
CalciteSchema getRootSchema()
Returns the root schema for statements that need a read-consistent snapshot.
-
getMutableRootSchema
CalciteSchema getMutableRootSchema()
Returns the root schema for statements that need to be able to modify schemas and have the results available to other statements. Viz, DDL statements.
-
getDefaultSchemaPath
java.util.List<java.lang.String> getDefaultSchemaPath()
-
config
CalciteConnectionConfig config()
-
spark
CalcitePrepare.SparkHandler spark()
Returns the spark handler. Never null.
-
getDataContext
DataContext getDataContext()
-
getObjectPath
java.util.List<java.lang.String> getObjectPath()
Returns the path of the object being analyzed, or null.The object is being analyzed is typically a view. If it is already being analyzed further up the stack, the view definition can be deduced to be cyclic.
-
getRelRunner
RelRunner getRelRunner()
Gets a runner; it can execute a relational expression.
-
-