Interface CalcitePrepare.Context

Enclosing interface:
CalcitePrepare

public static interface CalcitePrepare.Context
Context for preparing a statement.
  • 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

      List<String> getDefaultSchemaPath()
    • config

    • spark

      Returns the spark handler. Never null.
    • getDataContext

      DataContext getDataContext()
    • getObjectPath

      @Nullable List<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.