@Internal
public class QueryOperationCatalogViewTable
extends org.apache.calcite.schema.impl.AbstractTable
implements org.apache.calcite.schema.TranslatableTable
QueryOperationCatalogView and a Calcite's
Table. It implements TranslatableTable interface. This enables
direct translation from QueryOperation to RelNode.
NOTE: Due to legacy inconsistency in null handling in the TableSchema the translation might introduce
additional cast to comply with manifested schema in
getRowType(RelDataTypeFactory).
| Modifier and Type | Method and Description |
|---|---|
static QueryOperationCatalogViewTable |
createCalciteTable(org.apache.flink.table.catalog.QueryOperationCatalogView catalogView) |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
org.apache.calcite.rel.RelNode |
toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable) |
getJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg, unwrappublic static QueryOperationCatalogViewTable createCalciteTable(org.apache.flink.table.catalog.QueryOperationCatalogView catalogView)
public org.apache.calcite.rel.RelNode toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable)
toRel in interface org.apache.calcite.schema.TranslatableTablepublic org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType in interface org.apache.calcite.schema.TableCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.