Uses of Class
org.apache.calcite.rel.RelRoot
-
Packages that use RelRoot Package Description org.apache.calcite.jdbc JDBC driver for Calcite.org.apache.calcite.plan Defines interfaces for constructing rule-based optimizers of relational expressions.org.apache.calcite.prepare Preparation of queries (parsing, planning and implementation).org.apache.calcite.rel Defines relational expressions.org.apache.calcite.schema.impl Utilities to help implement Calcite's SPIs.org.apache.calcite.sql2rel Translates a SQL parse tree to relational expression.org.apache.calcite.tools Provides utility classes. -
-
Uses of RelRoot in org.apache.calcite.jdbc
Fields in org.apache.calcite.jdbc declared as RelRoot Modifier and Type Field Description RelRoot
CalcitePrepare.ConvertResult. root
Constructors in org.apache.calcite.jdbc with parameters of type RelRoot Constructor Description AnalyzeViewResult(CalcitePrepareImpl prepare, SqlValidator validator, java.lang.String sql, SqlNode sqlNode, RelDataType rowType, RelRoot root, Table table, com.google.common.collect.ImmutableList<java.lang.String> tablePath, RexNode constraint, ImmutableIntList columnMapping, boolean modifiable)
ConvertResult(CalcitePrepareImpl prepare, SqlValidator validator, java.lang.String sql, SqlNode sqlNode, RelDataType rowType, RelRoot root)
-
Uses of RelRoot in org.apache.calcite.plan
Methods in org.apache.calcite.plan that return RelRoot Modifier and Type Method Description RelRoot
RelOptTable.ViewExpander. expandView(RelDataType rowType, java.lang.String queryString, java.util.List<java.lang.String> schemaPath, java.util.List<java.lang.String> viewPath)
Returns a relational expression that is to be substituted for an access to a SQL view. -
Uses of RelRoot in org.apache.calcite.prepare
Fields in org.apache.calcite.prepare declared as RelRoot Modifier and Type Field Description private RelRoot
PlannerImpl. root
private RelRoot
Prepare.PreparedExplain. root
Methods in org.apache.calcite.prepare that return RelRoot Modifier and Type Method Description RelRoot
CalcitePrepareImpl.CalcitePreparingStmt. expandView(RelDataType rowType, java.lang.String queryString, java.util.List<java.lang.String> schemaPath, java.util.List<java.lang.String> viewPath)
RelRoot
PlannerImpl. expandView(RelDataType rowType, java.lang.String queryString, java.util.List<java.lang.String> schemaPath, java.util.List<java.lang.String> viewPath)
RelRoot
PlannerImpl.ViewExpanderImpl. expandView(RelDataType rowType, java.lang.String queryString, java.util.List<java.lang.String> schemaPath, java.util.List<java.lang.String> viewPath)
Deprecated.protected RelRoot
Prepare. optimize(RelRoot root, java.util.List<Prepare.Materialization> materializations, java.util.List<CalciteSchema.LatticeEntry> lattices)
Optimizes a query plan.RelRoot
PlannerImpl. rel(SqlNode sql)
protected RelRoot
Prepare. trimUnusedFields(RelRoot root)
Walks over a tree of relational expressions, replacing eachRelNode
with a 'slimmed down' relational expression that projects only the columns required by its consumer.Methods in org.apache.calcite.prepare with parameters of type RelRoot Modifier and Type Method Description private CalcitePrepare.AnalyzeViewResult
CalcitePrepareImpl. analyze_(SqlValidator validator, java.lang.String sql, SqlNode sqlNode, RelRoot root, boolean fail)
protected Prepare.PreparedResult
CalcitePrepareImpl.CalcitePreparingStmt. createPreparedExplanation(RelDataType resultType, RelDataType parameterRowType, RelRoot root, SqlExplainFormat format, SqlExplainLevel detailLevel)
protected abstract Prepare.PreparedResult
Prepare. createPreparedExplanation(RelDataType resultType, RelDataType parameterRowType, RelRoot root, SqlExplainFormat format, SqlExplainLevel detailLevel)
protected RelTraitSet
Prepare. getDesiredRootTraitSet(RelRoot root)
protected Prepare.PreparedResult
CalcitePrepareImpl.CalcitePreparingStmt. implement(RelRoot root)
protected abstract Prepare.PreparedResult
Prepare. implement(RelRoot root)
Implements a physical query plan.protected RelRoot
Prepare. optimize(RelRoot root, java.util.List<Prepare.Materialization> materializations, java.util.List<CalciteSchema.LatticeEntry> lattices)
Optimizes a query plan.protected RelRoot
Prepare. trimUnusedFields(RelRoot root)
Walks over a tree of relational expressions, replacing eachRelNode
with a 'slimmed down' relational expression that projects only the columns required by its consumer.Constructors in org.apache.calcite.prepare with parameters of type RelRoot Constructor Description CalcitePreparedExplain(RelDataType resultType, RelDataType parameterRowType, RelRoot root, SqlExplainFormat format, SqlExplainLevel detailLevel)
PreparedExplain(RelDataType rowType, RelDataType parameterRowType, RelRoot root, SqlExplainFormat format, SqlExplainLevel detailLevel)
-
Uses of RelRoot in org.apache.calcite.rel
Methods in org.apache.calcite.rel that return RelRoot Modifier and Type Method Description static RelRoot
RelRoot. of(RelNode rel, RelDataType rowType, SqlKind kind)
Creates a simple RelRoot.static RelRoot
RelRoot. of(RelNode rel, SqlKind kind)
Creates a simple RelRoot.RelRoot
RelRoot. withCollation(RelCollation collation)
RelRoot
RelRoot. withKind(SqlKind kind)
Creates a copy, assigning a new kind.RelRoot
RelRoot. withRel(RelNode rel)
Creates a copy of this RelRoot, assigning aRelNode
. -
Uses of RelRoot in org.apache.calcite.schema.impl
Methods in org.apache.calcite.schema.impl that return RelRoot Modifier and Type Method Description private RelRoot
ViewTable. expandView(RelOptTable.ToRelContext context, RelDataType rowType, java.lang.String queryString)
-
Uses of RelRoot in org.apache.calcite.sql2rel
Methods in org.apache.calcite.sql2rel that return RelRoot Modifier and Type Method Description RelRoot
SqlToRelConverter. convertQuery(SqlNode query, boolean needsValidation, boolean top)
Converts an unvalidated query's parse tree into a relational expression.protected RelRoot
SqlToRelConverter. convertQueryRecursive(SqlNode query, boolean top, RelDataType targetRowType)
Recursively converts a query to a relational expression.RelRoot
SqlToRelConverter. convertWith(SqlWith with, boolean top)
Converts a WITH sub-query into a relational expression. -
Uses of RelRoot in org.apache.calcite.tools
Methods in org.apache.calcite.tools that return RelRoot Modifier and Type Method Description RelRoot
Planner. rel(SqlNode sql)
Converts a SQL parse tree into a tree of relational expressions.
-