public final class CatalogSourceTable extends FlinkPreparingTableBase
FlinkPreparingTableBase implementation which defines the interfaces required to
translate the Calcite RelOptTable to the Flink specific TableSourceTable.
This table is only used to translate the CatalogTable into TableSourceTable
during the last phase of the SQL-to-rel conversion, it is not necessary anymore once the SQL node
was converted to a relational expression.
names, relOptSchema, rowType, statistic| Constructor and Description |
|---|
CatalogSourceTable(org.apache.calcite.plan.RelOptSchema relOptSchema,
List<String> names,
org.apache.calcite.rel.type.RelDataType rowType,
CatalogSchemaTable schemaTable,
org.apache.flink.table.catalog.CatalogTable catalogTable) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.rel.RelNode |
toRel(org.apache.calcite.plan.RelOptTable.ToRelContext toRelContext) |
columnHasDefaultValue, explainSourceAsString, extend, getAllowedAccess, getCollationList, getDistribution, getExpression, getKeys, getMonotonicity, getNames, getQualifiedName, getReferentialConstraints, getRelOptSchema, getRowCount, getRowType, getStatistic, isKey, isTemporal, supportsModality, uniqueKeysSet, unwrappublic CatalogSourceTable(org.apache.calcite.plan.RelOptSchema relOptSchema,
List<String> names,
org.apache.calcite.rel.type.RelDataType rowType,
CatalogSchemaTable schemaTable,
org.apache.flink.table.catalog.CatalogTable catalogTable)
public org.apache.calcite.rel.RelNode toRel(org.apache.calcite.plan.RelOptTable.ToRelContext toRelContext)
toRel in interface org.apache.calcite.plan.RelOptTabletoRel in class FlinkPreparingTableBaseCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.