| Package | Description |
|---|---|
| org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
| org.apache.calcite.adapter.jdbc |
Query provider based on a JDBC data source.
|
| org.apache.calcite.interpreter |
Provides an implementation of relational expressions using an interpreter.
|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.plan.volcano |
Optimizes relational expressions.
|
| org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
| org.apache.calcite.rel |
Defines relational expressions.
|
| org.apache.calcite.rel.core |
Defines core relational expressions.
|
| org.apache.calcite.rel.logical |
Defines logical relational expressions.
|
| org.apache.calcite.rel.metadata |
Defines metadata interfaces and utilities for relational
expressions.
|
| org.apache.calcite.schema |
Schema SPI.
|
| org.apache.calcite.schema.impl |
Utilities to help implement Calcite's SPIs.
|
| org.apache.calcite.sql.validate |
SQL validation.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumerableTableScan |
EnumerableTableScan.create(RelOptCluster cluster,
RelOptTable relOptTable)
Creates an EnumerableTableScan.
|
| Constructor and Description |
|---|
EnumerableTableModify(RelOptCluster cluster,
RelTraitSet traits,
RelOptTable table,
Prepare.CatalogReader catalogReader,
RelNode child,
TableModify.Operation operation,
List<String> updateColumnList,
boolean flattened) |
EnumerableTableScan(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
Class elementType)
Creates an EnumerableTableScan.
|
| Constructor and Description |
|---|
JdbcRules.JdbcTableModify(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
Prepare.CatalogReader catalogReader,
RelNode input,
TableModify.Operation operation,
List<String> updateColumnList,
boolean flattened) |
JdbcTableScan(RelOptCluster cluster,
RelOptTable table,
org.apache.calcite.adapter.jdbc.JdbcTable jdbcTable,
JdbcConvention jdbcConvention) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Bindables.BindableTableScan.canHandle(RelOptTable table) |
static Bindables.BindableTableScan |
Bindables.BindableTableScan.create(RelOptCluster cluster,
RelOptTable relOptTable)
Creates a BindableTableScan.
|
static Bindables.BindableTableScan |
Bindables.BindableTableScan.create(RelOptCluster cluster,
RelOptTable relOptTable,
List<RexNode> filters,
List<Integer> projects)
Creates a BindableTableScan.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RelOptAbstractTable
Partial implementation of
RelOptTable. |
| Modifier and Type | Field and Description |
|---|---|
RelOptTable |
RelOptLattice.starRelOptTable |
RelOptTable |
RelOptMaterialization.starRelOptTable |
RelOptTable |
RelOptMaterialization.table |
| Modifier and Type | Method and Description |
|---|---|
RelOptTable |
RelOptAbstractTable.extend(List<RelDataTypeField> extendedFields) |
RelOptTable |
RelOptTable.extend(List<RelDataTypeField> extendedFields)
Returns a table with the given extra fields.
|
RelOptTable |
RelOptSchema.getTableForMember(List<String> names)
Retrieves a
RelOptTable based upon a member access. |
RelOptTable |
RelOptSchemaWithSampling.getTableForMember(List<String> names,
String datasetName,
boolean[] usedDataset)
Retrieves a
RelOptTable based upon a member access, using a
sample dataset if it exists. |
RelOptTable |
RelOptLattice.rootTable() |
| Modifier and Type | Method and Description |
|---|---|
RelOptLattice |
AbstractRelOptPlanner.getLattice(RelOptTable table) |
RelOptLattice |
RelOptPlanner.getLattice(RelOptTable table)
Retrieves a lattice, given its star table.
|
List<String> |
TableAccessMap.getQualifiedName(RelOptTable table)
Constructs a qualified name for an optimizer table reference.
|
static RelNode |
RelOptMaterialization.tryUseStar(RelNode rel,
RelOptTable starRelOptTable)
Converts a relational expression to one that uses a
StarTable. |
| Constructor and Description |
|---|
RelOptLattice(Lattice lattice,
RelOptTable starRelOptTable) |
RelOptMaterialization(RelNode tableRel,
RelNode queryRel,
RelOptTable starRelOptTable)
Creates a RelOptMaterialization.
|
| Modifier and Type | Method and Description |
|---|---|
RelOptLattice |
VolcanoPlanner.getLattice(RelOptTable table) |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Prepare.PreparingTable
Definition of a table, for the purposes of the validator and planner.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RelOptTableImpl
Implementation of
RelOptTable. |
| Modifier and Type | Method and Description |
|---|---|
RelOptTable |
RelOptTableImpl.extend(List<RelDataTypeField> extendedFields) |
| Modifier and Type | Method and Description |
|---|---|
void |
Prepare.Materialization.materialize(RelNode queryRel,
RelOptTable starRelOptTable) |
| Modifier and Type | Method and Description |
|---|---|
RelOptTable |
AbstractRelNode.getTable() |
RelOptTable |
RelNode.getTable()
If this relational expression represents an access to a table, returns
that table, otherwise returns null.
|
RelOptTable |
RelInput.getTable(String table) |
| Modifier and Type | Field and Description |
|---|---|
protected RelOptTable |
TableModify.table
The table definition.
|
protected RelOptTable |
TableScan.table
The table definition.
|
| Modifier and Type | Method and Description |
|---|---|
RelOptTable |
TableModify.getTable() |
RelOptTable |
TableScan.getTable() |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableIntList |
TableScan.identity(RelOptTable table)
Returns an identity projection for the given table.
|
| Constructor and Description |
|---|
TableModify(RelOptCluster cluster,
RelTraitSet traits,
RelOptTable table,
Prepare.CatalogReader catalogReader,
RelNode child,
TableModify.Operation operation,
List<String> updateColumnList,
boolean flattened) |
TableScan(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table) |
| Modifier and Type | Method and Description |
|---|---|
static LogicalTableScan |
LogicalTableScan.create(RelOptCluster cluster,
RelOptTable relOptTable)
Creates a LogicalTableScan.
|
static LogicalTableModify |
LogicalTableModify.create(RelOptTable table,
Prepare.CatalogReader schema,
RelNode input,
TableModify.Operation operation,
List<String> updateColumnList,
boolean flattened)
Creates a LogicalTableModify.
|
| Constructor and Description |
|---|
LogicalTableModify(RelOptCluster cluster,
RelOptTable table,
Prepare.CatalogReader schema,
RelNode input,
TableModify.Operation operation,
List<String> updateColumnList,
boolean flattened)
Deprecated.
|
LogicalTableModify(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
Prepare.CatalogReader schema,
RelNode input,
TableModify.Operation operation,
List<String> updateColumnList,
boolean flattened)
Creates a LogicalTableModify.
|
LogicalTableScan(RelOptCluster cluster,
RelOptTable table)
Deprecated.
|
LogicalTableScan(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table)
Creates a LogicalTableScan.
|
| Modifier and Type | Method and Description |
|---|---|
RelOptTable |
RelColumnOrigin.getOriginTable() |
static RelOptTable |
RelMetadataQuery.getTableOrigin(RelNode rel)
Determines the origin of a
RelNode, provided it maps to a single
table, optionally with filtering and projection. |
| Modifier and Type | Method and Description |
|---|---|
static List<RelCollation> |
RelMdCollation.table(RelOptTable table)
Helper method to determine a
TableScan's collation. |
static RelDistribution |
RelMdDistribution.table(RelOptTable table)
Helper method to determine a
TableScan's collation. |
| Constructor and Description |
|---|
RelColumnOrigin(RelOptTable originTable,
int iOriginColumn,
boolean isDerived) |
| Modifier and Type | Method and Description |
|---|---|
TableModify |
ModifiableTable.toModificationRel(RelOptCluster cluster,
RelOptTable table,
Prepare.CatalogReader catalogReader,
RelNode child,
TableModify.Operation operation,
List<String> updateColumnList,
boolean flattened)
Creates a relational expression that modifies this table.
|
RelNode |
TranslatableTable.toRel(RelOptTable.ToRelContext context,
RelOptTable relOptTable)
Converts this table into a
relational expression. |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
MaterializedViewTable.toRel(RelOptTable.ToRelContext context,
RelOptTable relOptTable) |
RelNode |
StarTable.toRel(RelOptTable.ToRelContext context,
RelOptTable table) |
RelNode |
ViewTable.toRel(RelOptTable.ToRelContext context,
RelOptTable relOptTable) |
| Constructor and Description |
|---|
StarTable.StarTableScan(RelOptCluster cluster,
RelOptTable relOptTable) |
| Modifier and Type | Method and Description |
|---|---|
static RelOptTable |
SqlValidatorUtil.getRelOptTable(SqlValidatorNamespace namespace,
Prepare.CatalogReader catalogReader,
String datasetName,
boolean[] usedDataset)
Converts a
SqlValidatorScope into a RelOptTable. |
| Modifier and Type | Method and Description |
|---|---|
protected RelOptTable |
SqlToRelConverter.getTargetTable(SqlNode call) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultValueFactory.isGeneratedAlways(RelOptTable table,
int iColumn)
Whether a column is always generated.
|
RexNode |
DefaultValueFactory.newColumnDefaultValue(RelOptTable table,
int iColumn)
Creates an expression which evaluates to the default value for a
particular column.
|
RelNode |
SqlToRelConverter.toRel(RelOptTable table) |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.