Package org.apache.calcite.prepare
Preparation of queries (parsing, planning and implementation).
-
Interface Summary Interface Description CalcitePrepareImpl.ScalarTranslator Translator from Java AST toRexNode
.Prepare.CatalogReader Interface by which validator and planner can read table metadata.Prepare.PreparedResult Prepare.PreparingTable Definition of a table, for the purposes of the validator and planner. -
Class Summary Class Description CalciteCatalogReader Implementation ofPrepare.CatalogReader
and alsoSqlOperatorTable
based on tables and functions defined schemas.CalciteMaterializer Context for populating aPrepare.Materialization
.CalciteMaterializer.Callback Called when we discover a star table that matches.CalciteMaterializer.RelNullShuttle Implementation ofRelShuttle
that returns each relational expression unchanged.CalcitePrepareImpl Shit just got real.CalcitePrepareImpl.CalcitePreparedExplain AnEXPLAIN
statement, prepared and ready to execute.CalcitePrepareImpl.CalcitePreparingStmt Holds state for the process of preparing a SQL statement.CalcitePrepareImpl.EmptyScalarTranslator Basic translator.CalcitePrepareImpl.LambdaScalarTranslator Translator that looks for parameters.CalciteSqlValidator Validator.LixToRelTranslator PlannerImpl Implementation ofPlanner
.Prepare Abstract base for classes that implement the process of preparing and executing SQL expressions.Prepare.AbstractPreparingTable Abstract implementation ofPrepare.PreparingTable
with an implementation forPrepare.AbstractPreparingTable.columnHasDefaultValue(org.apache.calcite.rel.type.RelDataType, int, org.apache.calcite.sql2rel.InitializerContext)
.Prepare.Materialization Describes that a given SQL query is materialized by a given table.Prepare.PreparedExplain PreparedExplanation is a PreparedResult for an EXPLAIN PLAN statement.Prepare.PreparedResultImpl Abstract implementation ofPrepare.PreparedResult
.QueryableRelBuilder<T> Implementation ofQueryableFactory
that builds a tree ofRelNode
planner nodes.RelOptTableImpl Implementation ofRelOptTable
.RelOptTableImpl.MySchemaPlus Implementation ofSchemaPlus
that wraps a regular schema and knows its name and parent. -
Enum Summary Enum Description PlannerImpl.State Stage of a statement in the query-preparation lifecycle.