Package org.apache.flink.table.catalog
Interface ResolvedCatalogBaseTable<T extends CatalogBaseTable>
-
- Type Parameters:
T
-CatalogTable
orCatalogView
- 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
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description T
getOrigin()
Returns the original, unresolved metadata object from theCatalog
.ResolvedSchema
getResolvedSchema()
Returns a fully resolved and validatedResolvedSchema
.default TableSchema
getSchema()
Deprecated.This method returns the deprecatedTableSchema
class.-
Methods inherited from interface org.apache.flink.table.catalog.CatalogBaseTable
copy, getComment, getDescription, getDetailedDescription, getOptions, getTableKind, getUnresolvedSchema
-
-
-
-
Method Detail
-
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 default TableSchema getSchema()
Deprecated.This method returns the deprecatedTableSchema
class. The old class was a hybrid of resolved and unresolved schema information. It has been replaced by the newResolvedSchema
which is resolved by the framework and accessible viagetResolvedSchema()
.- Specified by:
getSchema
in interfaceCatalogBaseTable
-
-