Package org.apache.flink.table.catalog
Interface ResolvedCatalogBaseTable<T extends CatalogBaseTable>
- Type Parameters:
T-CatalogTableorCatalogView
- All Superinterfaces:
CatalogBaseTable
- All Known Implementing Classes:
ResolvedCatalogMaterializedTable,ResolvedCatalogTable,ResolvedCatalogView
@PublicEvolving
public interface ResolvedCatalogBaseTable<T extends CatalogBaseTable>
extends CatalogBaseTable
A common parent that describes the resolved metadata of a table or view in a catalog.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.table.catalog.CatalogBaseTable
CatalogBaseTable.TableKind -
Method Summary
Modifier and TypeMethodDescriptionReturns the original, unresolved metadata object from theCatalog.Returns a fully resolved and validatedResolvedSchema.default TableSchemaDeprecated.Methods inherited from interface org.apache.flink.table.catalog.CatalogBaseTable
copy, getComment, getDescription, getDetailedDescription, getOptions, getTableKind, getUnresolvedSchema
-
Method Details
-
getOrigin
T getOrigin()Returns the original, unresolved metadata object from theCatalog.This method might be useful if catalog-specific object instances should be directly forwarded from the catalog to a factory.
-
getResolvedSchema
ResolvedSchema getResolvedSchema()Returns a fully resolved and validatedResolvedSchema.Connectors can configure themselves by accessing
ResolvedSchema.getPrimaryKey()andResolvedSchema.toPhysicalRowDataType(). -
getSchema
Deprecated.This method returns the deprecatedTableSchemaclass. The old class was a hybrid of resolved and unresolved schema information. It has been replaced by the newResolvedSchemawhich is resolved by the framework and accessible viagetResolvedSchema().- Specified by:
getSchemain interfaceCatalogBaseTable
-
TableSchemaclass.