Package org.apache.calcite.jdbc
Interface CalcitePrepare.Context
- Enclosing interface:
CalcitePrepare
public static interface CalcitePrepare.Context
Context for preparing a statement.
-
Method Summary
Modifier and TypeMethodDescriptionconfig()
Returns the root schema for statements that need to be able to modify schemas and have the results available to other statements.Returns the path of the object being analyzed, or null.Gets a runner; it can execute a relational expression.Returns the root schema for statements that need a read-consistent snapshot.spark()
Returns the spark handler.
-
Method Details
-
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
-
config
CalciteConnectionConfig config() -
spark
CalcitePrepare.SparkHandler spark()Returns the spark handler. Never null. -
getDataContext
DataContext getDataContext() -
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.
-