public class CatalogSchemaTable
extends org.apache.calcite.schema.impl.AbstractTable
implements org.apache.calcite.schema.TemporalTable
CatalogBaseTable in Schema.
This table would be converted to FlinkPreparingTableBase based on its internal source
type during sql-to-rel conversion.
See FlinkCalciteCatalogReader.getTable(List) for
details.
| Constructor and Description |
|---|
CatalogSchemaTable(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier,
org.apache.flink.table.catalog.CatalogManager.TableLookupResult lookupResult,
org.apache.flink.table.planner.plan.stats.FlinkStatistic statistic,
org.apache.flink.table.catalog.Catalog catalog,
boolean isStreaming)
Create a CatalogSchemaTable instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.table.catalog.Catalog |
getCatalog() |
org.apache.flink.table.catalog.CatalogBaseTable |
getCatalogTable() |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
org.apache.flink.table.planner.plan.stats.FlinkStatistic |
getStatistic() |
String |
getSysEndFieldName() |
String |
getSysStartFieldName() |
org.apache.flink.table.catalog.ObjectIdentifier |
getTableIdentifier() |
boolean |
isStreamingMode() |
boolean |
isTemporary() |
getJdbcTableType, isRolledUp, rolledUpColumnValidInsideAgg, unwrappublic CatalogSchemaTable(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier,
org.apache.flink.table.catalog.CatalogManager.TableLookupResult lookupResult,
org.apache.flink.table.planner.plan.stats.FlinkStatistic statistic,
org.apache.flink.table.catalog.Catalog catalog,
boolean isStreaming)
tableIdentifier - Table identifierlookupResult - A result of catalog lookupstatistic - Table statisticscatalog - The catalog which the schema table belongs toisStreaming - If the table is for streaming modepublic org.apache.flink.table.catalog.Catalog getCatalog()
public org.apache.flink.table.catalog.ObjectIdentifier getTableIdentifier()
public org.apache.flink.table.catalog.CatalogBaseTable getCatalogTable()
public boolean isTemporary()
public boolean isStreamingMode()
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType in interface org.apache.calcite.schema.Tablepublic org.apache.flink.table.planner.plan.stats.FlinkStatistic getStatistic()
getStatistic in interface org.apache.calcite.schema.TablegetStatistic in class org.apache.calcite.schema.impl.AbstractTablepublic String getSysStartFieldName()
getSysStartFieldName in interface org.apache.calcite.schema.TemporalTablepublic String getSysEndFieldName()
getSysEndFieldName in interface org.apache.calcite.schema.TemporalTableCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.