Uses of Interface
org.apache.calcite.plan.RelOptTable
-
Packages that use RelOptTable Package Description org.apache.calcite.adapter.cassandra Cassandra query provider.org.apache.calcite.adapter.csv Calcite query provider that reads from CSV (comma-separated value) files.org.apache.calcite.adapter.druid Query provider based on a Druid database.org.apache.calcite.adapter.elasticsearch Query provider based on an Elasticsearch2 DB.org.apache.calcite.adapter.enumerable Query optimizer rules for Java calling convention.org.apache.calcite.adapter.file Calcite query provider that reads from web tables (HTML).org.apache.calcite.adapter.geode.rel Query provider based on Apache Geode (Gemfire) In Memory Data Gridorg.apache.calcite.adapter.jdbc Query provider based on a JDBC data source.org.apache.calcite.adapter.mongodb Query provider based on a MongoDB database.org.apache.calcite.adapter.pig Pig query provider.org.apache.calcite.adapter.splunk Splunk query provider.org.apache.calcite.interpreter Provides an implementation of relational expressions using an interpreter.org.apache.calcite.materialize Management of materialized query results.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.rel.mutable Defines mutable relational expressions.org.apache.calcite.rel.rules Provides a core set of planner rules.org.apache.calcite.rex Provides a language for representing row-expressions.org.apache.calcite.schema Schema SPI.org.apache.calcite.schema.impl Utilities to help implement Calcite's SPIs.org.apache.calcite.sql.ddl Parse tree for SQL DDL statements.org.apache.calcite.sql.validate SQL validation.org.apache.calcite.sql2rel Translates a SQL parse tree to relational expression. -
-
Uses of RelOptTable in org.apache.calcite.adapter.cassandra
Fields in org.apache.calcite.adapter.cassandra declared as RelOptTable Modifier and Type Field Description (package private) RelOptTable
CassandraRel.Implementor. table
Methods in org.apache.calcite.adapter.cassandra with parameters of type RelOptTable Modifier and Type Method Description RelNode
CassandraTable. toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
Constructors in org.apache.calcite.adapter.cassandra with parameters of type RelOptTable Constructor Description CassandraTableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, CassandraTable cassandraTable, RelDataType projectRowType)
Creates a CassandraTableScan. -
Uses of RelOptTable in org.apache.calcite.adapter.csv
Methods in org.apache.calcite.adapter.csv with parameters of type RelOptTable Modifier and Type Method Description RelNode
CsvTranslatableTable. toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
Constructors in org.apache.calcite.adapter.csv with parameters of type RelOptTable Constructor Description CsvTableScan(RelOptCluster cluster, RelOptTable table, CsvTranslatableTable csvTable, int[] fields)
-
Uses of RelOptTable in org.apache.calcite.adapter.druid
Fields in org.apache.calcite.adapter.druid declared as RelOptTable Modifier and Type Field Description (package private) RelOptTable
DruidQuery. table
Methods in org.apache.calcite.adapter.druid that return RelOptTable Modifier and Type Method Description RelOptTable
DruidQuery. getTable()
Methods in org.apache.calcite.adapter.druid with parameters of type RelOptTable Modifier and Type Method Description static DruidQuery
DruidQuery. create(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, DruidTable druidTable, java.util.List<RelNode> rels)
Creates a DruidQuery.static DruidQuery
DruidQuery. create(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, DruidTable druidTable, java.util.List<RelNode> rels, java.util.Map<SqlOperator,DruidSqlOperatorConverter> converterOperatorMap)
Creates a DruidQuery.private static DruidQuery
DruidQuery. create(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, DruidTable druidTable, java.util.List<org.joda.time.Interval> intervals, java.util.List<RelNode> rels, java.util.Map<SqlOperator,DruidSqlOperatorConverter> converterOperatorMap)
Creates a DruidQuery.RelNode
DruidTable. toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
Constructors in org.apache.calcite.adapter.druid with parameters of type RelOptTable Constructor Description DruidQuery(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, DruidTable druidTable, java.util.List<org.joda.time.Interval> intervals, java.util.List<RelNode> rels, java.util.Map<SqlOperator,DruidSqlOperatorConverter> converterOperatorMap)
Creates a DruidQuery. -
Uses of RelOptTable in org.apache.calcite.adapter.elasticsearch
Fields in org.apache.calcite.adapter.elasticsearch declared as RelOptTable Modifier and Type Field Description (package private) RelOptTable
ElasticsearchRel.Implementor. table
Methods in org.apache.calcite.adapter.elasticsearch with parameters of type RelOptTable Modifier and Type Method Description RelNode
ElasticsearchTable. toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
Constructors in org.apache.calcite.adapter.elasticsearch with parameters of type RelOptTable Constructor Description ElasticsearchTableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, ElasticsearchTable elasticsearchTable, RelDataType projectRowType)
Creates an ElasticsearchTableScan. -
Uses of RelOptTable in org.apache.calcite.adapter.enumerable
Methods in org.apache.calcite.adapter.enumerable with parameters of type RelOptTable Modifier and Type Method Description static EnumerableTableScan
EnumerableTableScan. create(RelOptCluster cluster, RelOptTable relOptTable)
Creates an EnumerableTableScan.static JavaRowFormat
EnumerableTableScan. deduceFormat(RelOptTable table)
Constructors in org.apache.calcite.adapter.enumerable with parameters of type RelOptTable Constructor Description EnumerableTableModify(RelOptCluster cluster, RelTraitSet traits, RelOptTable table, Prepare.CatalogReader catalogReader, RelNode child, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
EnumerableTableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, java.lang.Class elementType)
Creates an EnumerableTableScan. -
Uses of RelOptTable in org.apache.calcite.adapter.file
Methods in org.apache.calcite.adapter.file with parameters of type RelOptTable Modifier and Type Method Description RelNode
FileTable. toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
Constructors in org.apache.calcite.adapter.file with parameters of type RelOptTable Constructor Description FileTableScan(RelOptCluster cluster, RelOptTable table, FileTable webTable, int[] fields)
-
Uses of RelOptTable in org.apache.calcite.adapter.geode.rel
Fields in org.apache.calcite.adapter.geode.rel declared as RelOptTable Modifier and Type Field Description (package private) RelOptTable
GeodeRel.GeodeImplementContext. table
Methods in org.apache.calcite.adapter.geode.rel with parameters of type RelOptTable Modifier and Type Method Description RelNode
GeodeTable. toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
Constructors in org.apache.calcite.adapter.geode.rel with parameters of type RelOptTable Constructor Description GeodeTableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, GeodeTable geodeTable, RelDataType projectRowType)
Creates a GeodeTableScan. -
Uses of RelOptTable in org.apache.calcite.adapter.jdbc
Methods in org.apache.calcite.adapter.jdbc with parameters of type RelOptTable Modifier and Type Method Description TableModify
JdbcTable. toModificationRel(RelOptCluster cluster, RelOptTable table, Prepare.CatalogReader catalogReader, RelNode input, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
RelNode
JdbcTable. toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
Constructors in org.apache.calcite.adapter.jdbc with parameters of type RelOptTable Constructor Description JdbcTableModify(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, Prepare.CatalogReader catalogReader, RelNode input, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
JdbcTableScan(RelOptCluster cluster, RelOptTable table, JdbcTable jdbcTable, JdbcConvention jdbcConvention)
-
Uses of RelOptTable in org.apache.calcite.adapter.mongodb
Fields in org.apache.calcite.adapter.mongodb declared as RelOptTable Modifier and Type Field Description (package private) RelOptTable
MongoRel.Implementor. table
Methods in org.apache.calcite.adapter.mongodb with parameters of type RelOptTable Modifier and Type Method Description RelNode
MongoTable. toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
Constructors in org.apache.calcite.adapter.mongodb with parameters of type RelOptTable Constructor Description MongoTableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, MongoTable mongoTable, RelDataType projectRowType)
Creates a MongoTableScan. -
Uses of RelOptTable in org.apache.calcite.adapter.pig
Methods in org.apache.calcite.adapter.pig that return RelOptTable Modifier and Type Method Description RelOptTable
PigAggregate. getTable()
Override this method so it looks down the tree to find the table this node is acting on.RelOptTable
PigFilter. getTable()
Override this method so it looks down the tree to find the table this node is acting on.RelOptTable
PigJoin. getTable()
The Pig alias of the joined relation will have the same name as one from the left side of the join.RelOptTable
PigProject. getTable()
Override this method so it looks down the tree to find the table this node is acting on.Methods in org.apache.calcite.adapter.pig with parameters of type RelOptTable Modifier and Type Method Description RelNode
PigRelFactories.PigTableScanFactory. createScan(RelOptCluster cluster, RelOptTable table)
RelNode
PigTable. toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
Constructors in org.apache.calcite.adapter.pig with parameters of type RelOptTable Constructor Description PigTableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table)
Creates a PigTableScan. -
Uses of RelOptTable in org.apache.calcite.adapter.splunk
Methods in org.apache.calcite.adapter.splunk with parameters of type RelOptTable Modifier and Type Method Description RelNode
SplunkTable. toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
Constructors in org.apache.calcite.adapter.splunk with parameters of type RelOptTable Constructor Description SplunkTableScan(RelOptCluster cluster, RelOptTable table, SplunkTable splunkTable, java.lang.String search, java.lang.String earliest, java.lang.String latest, java.util.List<java.lang.String> fieldList)
-
Uses of RelOptTable in org.apache.calcite.interpreter
Methods in org.apache.calcite.interpreter with parameters of type RelOptTable Modifier and Type Method 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, java.util.List<RexNode> filters, java.util.List<java.lang.Integer> projects)
Creates a BindableTableScan.Constructors in org.apache.calcite.interpreter with parameters of type RelOptTable Constructor Description BindableTableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, com.google.common.collect.ImmutableList<RexNode> filters, ImmutableIntList projects)
Creates a BindableTableScan. -
Uses of RelOptTable in org.apache.calcite.materialize
Fields in org.apache.calcite.materialize declared as RelOptTable Modifier and Type Field Description RelOptTable
LatticeTable. t
Methods in org.apache.calcite.materialize that return RelOptTable Modifier and Type Method Description RelOptTable
LatticeNode. relOptTable()
Methods in org.apache.calcite.materialize with parameters of type RelOptTable Modifier and Type Method Description (package private) LatticeTable
LatticeSpace. register(RelOptTable t)
(package private) java.lang.String
LatticeSpace. simpleName(RelOptTable table)
Constructors in org.apache.calcite.materialize with parameters of type RelOptTable Constructor Description LatticeTable(RelOptTable table)
-
Uses of RelOptTable in org.apache.calcite.plan
Classes in org.apache.calcite.plan that implement RelOptTable Modifier and Type Class Description class
RelOptAbstractTable
Partial implementation ofRelOptTable
.Fields in org.apache.calcite.plan declared as RelOptTable Modifier and Type Field Description RelOptTable
RelOptLattice. starRelOptTable
RelOptTable
RelOptMaterialization. starRelOptTable
Methods in org.apache.calcite.plan that return RelOptTable Modifier and Type Method Description RelOptTable
RelOptAbstractTable. extend(java.util.List<RelDataTypeField> extendedFields)
RelOptTable
RelOptTable. extend(java.util.List<RelDataTypeField> extendedFields)
Returns a table with the given extra fields.RelOptTable
RelOptMaterialization.ProjectFilterTable. getTable()
RelOptTable
RelOptSchema. getTableForMember(java.util.List<java.lang.String> names)
Retrieves aRelOptTable
based upon a member access.RelOptTable
RelOptSchemaWithSampling. getTableForMember(java.util.List<java.lang.String> names, java.lang.String datasetName, boolean[] usedDataset)
Retrieves aRelOptTable
based upon a member access, using a sample dataset if it exists.RelOptTable
RelOptLattice. rootTable()
Methods in org.apache.calcite.plan that return types with arguments of type RelOptTable Modifier and Type Method Description static java.util.List<RelOptTable>
RelOptUtil. findAllTables(RelNode rel)
Returns a list of all tables used by this expression or its childrenstatic java.util.Set<RelOptTable>
RelOptUtil. findTables(RelNode rel)
Returns a set of tables used by this expression or its childrenMethods in org.apache.calcite.plan with parameters of type RelOptTable Modifier and Type Method Description RelOptLattice
AbstractRelOptPlanner. getLattice(RelOptTable table)
RelOptLattice
RelOptPlanner. getLattice(RelOptTable table)
Retrieves a lattice, given its star table.java.util.List<java.lang.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 aStarTable
.Method parameters in org.apache.calcite.plan with type arguments of type RelOptTable Modifier and Type Method Description private static boolean
RelOptMaterializations. usesTable(java.util.List<java.lang.String> qualifiedName, java.util.Set<RelOptTable> usedTables, Graphs.FrozenGraph<java.util.List<java.lang.String>,DefaultEdge> usesGraph)
Returns whethertable
uses one or more of the tables inusedTables
.Constructors in org.apache.calcite.plan with parameters of type RelOptTable Constructor Description RelOptLattice(Lattice lattice, RelOptTable starRelOptTable)
RelOptMaterialization(RelNode tableRel, RelNode queryRel, RelOptTable starRelOptTable, java.util.List<java.lang.String> qualifiedTableName)
Creates a RelOptMaterialization. -
Uses of RelOptTable in org.apache.calcite.plan.volcano
Methods in org.apache.calcite.plan.volcano with parameters of type RelOptTable Modifier and Type Method Description RelOptLattice
VolcanoPlanner. getLattice(RelOptTable table)
-
Uses of RelOptTable in org.apache.calcite.prepare
Subinterfaces of RelOptTable in org.apache.calcite.prepare Modifier and Type Interface Description static interface
Prepare.PreparingTable
Definition of a table, for the purposes of the validator and planner.Classes in org.apache.calcite.prepare that implement RelOptTable Modifier and Type Class Description static class
Prepare.AbstractPreparingTable
Abstract implementation ofPrepare.PreparingTable
with an implementation forPrepare.AbstractPreparingTable.columnHasDefaultValue(org.apache.calcite.rel.type.RelDataType, int, org.apache.calcite.sql2rel.InitializerContext)
.class
RelOptTableImpl
Implementation ofRelOptTable
.Fields in org.apache.calcite.prepare declared as RelOptTable Modifier and Type Field Description private RelOptTable
Prepare.Materialization. starRelOptTable
Star table identified.Methods in org.apache.calcite.prepare that return RelOptTable Modifier and Type Method Description RelOptTable
Prepare.AbstractPreparingTable. extend(java.util.List<RelDataTypeField> extendedFields)
protected abstract RelOptTable
Prepare.AbstractPreparingTable. extend(Table extendedTable)
Implementation-specific code to instantiate a newRelOptTable
based on aTable
that has been extended.protected RelOptTable
RelOptTableImpl. extend(Table extendedTable)
Methods in org.apache.calcite.prepare with parameters of type RelOptTable Modifier and Type Method Description static java.util.List<ColumnStrategy>
RelOptTableImpl. columnStrategies(RelOptTable table)
void
Prepare.Materialization. materialize(RelNode queryRel, RelOptTable starRelOptTable)
static int
RelOptTableImpl. realOrdinal(RelOptTable table, int i)
Converts the ordinal of a field into the ordinal of a stored field.static RelDataType
RelOptTableImpl. realRowType(RelOptTable table)
Returns the row type of a table after anyColumnStrategy.VIRTUAL
columns have been removed. -
Uses of RelOptTable in org.apache.calcite.rel
Methods in org.apache.calcite.rel that return RelOptTable Modifier and Type Method Description RelOptTable
AbstractRelNode. getTable()
RelOptTable
RelInput. getTable(java.lang.String table)
RelOptTable
RelNode. getTable()
If this relational expression represents an access to a table, returns that table, otherwise returns null. -
Uses of RelOptTable in org.apache.calcite.rel.core
Fields in org.apache.calcite.rel.core declared as RelOptTable Modifier and Type Field Description protected RelOptTable
TableModify. table
The table definition.protected RelOptTable
TableScan. table
The table definition.Methods in org.apache.calcite.rel.core that return RelOptTable Modifier and Type Method Description RelOptTable
TableModify. getTable()
RelOptTable
TableScan. getTable()
Methods in org.apache.calcite.rel.core with parameters of type RelOptTable Modifier and Type Method Description RelNode
RelFactories.TableScanFactory. createScan(RelOptCluster cluster, RelOptTable table)
Creates aTableScan
.RelNode
RelFactories.TableScanFactoryImpl. createScan(RelOptCluster cluster, RelOptTable table)
static ImmutableIntList
TableScan. identity(RelOptTable table)
Returns an identity projection for the given table.Constructors in org.apache.calcite.rel.core with parameters of type RelOptTable Constructor Description TableModify(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, Prepare.CatalogReader catalogReader, RelNode input, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
Creates aTableModify
.TableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table)
-
Uses of RelOptTable in org.apache.calcite.rel.logical
Methods in org.apache.calcite.rel.logical with parameters of type RelOptTable Modifier and Type Method Description static LogicalTableModify
LogicalTableModify. create(RelOptTable table, Prepare.CatalogReader schema, RelNode input, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
Creates a LogicalTableModify.static LogicalTableScan
LogicalTableScan. create(RelOptCluster cluster, RelOptTable relOptTable)
Creates a LogicalTableScan.Constructors in org.apache.calcite.rel.logical with parameters of type RelOptTable Constructor Description LogicalTableModify(RelOptCluster cluster, RelOptTable table, Prepare.CatalogReader schema, RelNode input, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, boolean flattened)
Deprecated.LogicalTableModify(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, Prepare.CatalogReader schema, RelNode input, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
Creates a LogicalTableModify.LogicalTableScan(RelOptCluster cluster, RelOptTable table)
Deprecated.LogicalTableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table)
Creates a LogicalTableScan. -
Uses of RelOptTable in org.apache.calcite.rel.metadata
Fields in org.apache.calcite.rel.metadata declared as RelOptTable Modifier and Type Field Description private RelOptTable
RelColumnOrigin. originTable
Methods in org.apache.calcite.rel.metadata that return RelOptTable Modifier and Type Method Description RelOptTable
RelColumnOrigin. getOriginTable()
RelOptTable
RelMetadataQuery. getTableOrigin(RelNode rel)
Determines the origin of aRelNode
, provided it maps to a single table, optionally with filtering and projection.Methods in org.apache.calcite.rel.metadata with parameters of type RelOptTable Modifier and Type Method Description static java.util.List<RelCollation>
RelMdCollation. table(RelOptTable table)
Helper method to determine aTableScan
's collation.static RelDistribution
RelMdDistribution. table(RelOptTable table)
Helper method to determine aTableScan
's distribution.Constructors in org.apache.calcite.rel.metadata with parameters of type RelOptTable Constructor Description RelColumnOrigin(RelOptTable originTable, int iOriginColumn, boolean isDerived)
-
Uses of RelOptTable in org.apache.calcite.rel.mutable
Fields in org.apache.calcite.rel.mutable declared as RelOptTable Modifier and Type Field Description RelOptTable
MutableTableModify. table
Methods in org.apache.calcite.rel.mutable with parameters of type RelOptTable Modifier and Type Method Description static MutableTableModify
MutableTableModify. of(RelDataType rowType, MutableRel input, RelOptTable table, Prepare.CatalogReader catalogReader, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
Creates a MutableTableModify.Constructors in org.apache.calcite.rel.mutable with parameters of type RelOptTable Constructor Description MutableTableModify(RelDataType rowType, MutableRel input, RelOptTable table, Prepare.CatalogReader catalogReader, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
-
Uses of RelOptTable in org.apache.calcite.rel.rules
Classes in org.apache.calcite.rel.rules that implement RelOptTable Modifier and Type Class Description private static class
LoptSemiJoinOptimizer.LcsTable
Dummy class to allow code to compile.Methods in org.apache.calcite.rel.rules that return types with arguments of type RelOptTable Modifier and Type Method Description private java.util.Map<java.lang.Integer,RelOptTable>
LoptOptimizeJoinRule. getSimpleFactors(RelMetadataQuery mq, LoptMultiJoin multiJoin)
Retrieves join factors that correspond to simple table references. -
Uses of RelOptTable in org.apache.calcite.rex
Fields in org.apache.calcite.rex declared as RelOptTable Modifier and Type Field Description private RelOptTable
RexTableInputRef.RelTableRef. table
Methods in org.apache.calcite.rex that return RelOptTable Modifier and Type Method Description RelOptTable
RexTableInputRef.RelTableRef. getTable()
Methods in org.apache.calcite.rex with parameters of type RelOptTable Modifier and Type Method Description static RexTableInputRef.RelTableRef
RexTableInputRef.RelTableRef. of(RelOptTable table, int entityNumber)
Constructors in org.apache.calcite.rex with parameters of type RelOptTable Constructor Description RelTableRef(RelOptTable table, int entityNumber)
-
Uses of RelOptTable in org.apache.calcite.schema
Methods in org.apache.calcite.schema with parameters of type RelOptTable Modifier and Type Method Description TableModify
ModifiableTable. toModificationRel(RelOptCluster cluster, RelOptTable table, Prepare.CatalogReader catalogReader, RelNode child, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
Creates a relational expression that modifies this table.RelNode
TranslatableTable. toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
Converts this table into arelational expression
. -
Uses of RelOptTable in org.apache.calcite.schema.impl
Methods in org.apache.calcite.schema.impl with parameters of type RelOptTable Modifier and Type Method Description ColumnStrategy
ModifiableViewTable.ModifiableViewTableInitializerExpressionFactory. generationStrategy(RelOptTable table, int iColumn)
RexNode
ModifiableViewTable.ModifiableViewTableInitializerExpressionFactory. newColumnDefaultValue(RelOptTable table, int iColumn, InitializerContext context)
RelNode
MaterializedViewTable. toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
RelNode
StarTable. toRel(RelOptTable.ToRelContext context, RelOptTable table)
RelNode
ViewTable. toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable)
Constructors in org.apache.calcite.schema.impl with parameters of type RelOptTable Constructor Description StarTableScan(RelOptCluster cluster, RelOptTable relOptTable)
-
Uses of RelOptTable in org.apache.calcite.sql.ddl
Methods in org.apache.calcite.sql.ddl with parameters of type RelOptTable Modifier and Type Method Description TableModify
SqlCreateTable.AbstractModifiableTable. toModificationRel(RelOptCluster cluster, RelOptTable table, Prepare.CatalogReader catalogReader, RelNode child, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
-
Uses of RelOptTable in org.apache.calcite.sql.validate
Methods in org.apache.calcite.sql.validate that return RelOptTable Modifier and Type Method Description static RelOptTable
SqlValidatorUtil. getRelOptTable(SqlValidatorNamespace namespace, Prepare.CatalogReader catalogReader, java.lang.String datasetName, boolean[] usedDataset)
Converts aSqlValidatorScope
into aRelOptTable
.private static RelOptTable
SqlValidatorUtil. getRelOptTable(TableNamespace tableNamespace, Prepare.CatalogReader catalogReader, java.lang.String datasetName, boolean[] usedDataset, java.util.List<RelDataTypeField> extendedFields)
Methods in org.apache.calcite.sql.validate with parameters of type RelOptTable Modifier and Type Method Description static RelDataTypeField
SqlValidatorUtil. getTargetField(RelDataType rowType, RelDataTypeFactory typeFactory, SqlIdentifier id, SqlValidatorCatalogReader catalogReader, RelOptTable table)
Resolve a target column name in the target table. -
Uses of RelOptTable in org.apache.calcite.sql2rel
Methods in org.apache.calcite.sql2rel that return RelOptTable Modifier and Type Method Description protected RelOptTable
SqlToRelConverter. getTargetTable(SqlNode call)
Methods in org.apache.calcite.sql2rel with parameters of type RelOptTable Modifier and Type Method Description private SqlToRelConverter.Blackboard
SqlToRelConverter. createInsertBlackboard(RelOptTable targetTable, RexNode sourceRef, java.util.List<java.lang.String> targetColumnNames)
Creates a blackboard for translating the expressions of generated columns in an INSERT statement.private RelNode
SqlToRelConverter. createModify(RelOptTable targetTable, RelNode source)
Creates a relational expression to modify a table or modifiable view.private RelNode
SqlToRelConverter. createSource(RelOptTable targetTable, RelNode source, ModifiableView modifiableView, RelDataType delegateRowType)
Wraps a relational expression in the projects and filters implied by aModifiableView
.ColumnStrategy
InitializerExpressionFactory. generationStrategy(RelOptTable table, int iColumn)
Returns how a column is populated.ColumnStrategy
NullInitializerExpressionFactory. generationStrategy(RelOptTable table, int iColumn)
boolean
InitializerExpressionFactory. isGeneratedAlways(RelOptTable table, int iColumn)
Deprecated.Usec.generationStrategy(t, i) == VIRTUAL || c.generationStrategy(t, i) == STORED
boolean
NullInitializerExpressionFactory. isGeneratedAlways(RelOptTable table, int iColumn)
RexNode
InitializerExpressionFactory. newColumnDefaultValue(RelOptTable table, int iColumn, InitializerContext context)
Creates an expression which evaluates to the default value for a particular column.RexNode
NullInitializerExpressionFactory. newColumnDefaultValue(RelOptTable table, int iColumn, InitializerContext context)
RelNode
SqlToRelConverter. toRel(RelOptTable table)
-