public class SqlCatalogViewTable extends ExpandingPreparingTable
CatalogView and a Calcite's RelOptTable. It implements parsing and conversion from sql string to
RelNode.names, relOptSchema, rowType, statistic| Constructor and Description |
|---|
SqlCatalogViewTable(org.apache.calcite.plan.RelOptSchema relOptSchema,
org.apache.calcite.rel.type.RelDataType rowType,
Iterable<String> names,
org.apache.flink.table.planner.plan.stats.FlinkStatistic statistic,
org.apache.flink.table.catalog.CatalogView view,
List<String> viewPath) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.rel.RelNode |
convertToRel(org.apache.calcite.plan.RelOptTable.ToRelContext context)
Converts the table to a
RelNode. |
toRelcolumnHasDefaultValue, explainSourceAsString, extend, getAllowedAccess, getCollationList, getDistribution, getExpression, getKeys, getMonotonicity, getNames, getQualifiedName, getReferentialConstraints, getRelOptSchema, getRowCount, getRowType, getStatistic, isKey, isTemporal, supportsModality, uniqueKeysSet, unwrappublic SqlCatalogViewTable(@Nullable org.apache.calcite.plan.RelOptSchema relOptSchema, org.apache.calcite.rel.type.RelDataType rowType, Iterable<String> names, org.apache.flink.table.planner.plan.stats.FlinkStatistic statistic, org.apache.flink.table.catalog.CatalogView view, List<String> viewPath)
public org.apache.calcite.rel.RelNode convertToRel(org.apache.calcite.plan.RelOptTable.ToRelContext context)
ExpandingPreparingTableRelNode. Does not need to expand any nested scans of an
ExpandingPreparingTable. Those will be expanded recursively.convertToRel in class ExpandingPreparingTableCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.