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,
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 . |
toRel
columnHasDefaultValue, explainSourceAsString, extend, getAllowedAccess, getCollationList, getDistribution, getExpression, getKeys, getMonotonicity, getNames, getQualifiedName, getReferentialConstraints, getRelOptSchema, getRowCount, getRowType, getStatistic, isKey, isTemporal, supportsModality, uniqueKeysSet, unwrap
public org.apache.calcite.rel.RelNode convertToRel(org.apache.calcite.plan.RelOptTable.ToRelContext context)
ExpandingPreparingTable
RelNode
. Does not need to expand any nested scans of an
ExpandingPreparingTable
. Those will be expanded recursively.convertToRel
in class ExpandingPreparingTable
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.