Package org.apache.flink.table.catalog
Interface CatalogBaseTable
- All Known Subinterfaces:
CatalogMaterializedTable,CatalogTable,CatalogView,ResolvedCatalogBaseTable<T>
- All Known Implementing Classes:
DefaultCatalogMaterializedTable,DefaultCatalogTable,ResolvedCatalogMaterializedTable,ResolvedCatalogTable,ResolvedCatalogView
@PublicEvolving
public interface CatalogBaseTable
A common parent that describes the unresolved metadata of a table or view in a catalog.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncopy()Get a deep copy of the CatalogBaseTable instance.Get comment of the table or view.Get a brief description of the table or view.Get a detailed description of the table or view.Returns a map of string-based options.default TableSchemaDeprecated.The kind of table thisCatalogBaseTabledescribes.default SchemaReturns the schema of the table or view.
-
Method Details
-
getTableKind
CatalogBaseTable.TableKind getTableKind()The kind of table thisCatalogBaseTabledescribes. -
getOptions
Returns a map of string-based options.In case of
CatalogTable, these options may determine the kind of connector and its configuration for accessing the data in the external system. SeeDynamicTableFactoryfor more information. If aCatalogTableshould not be serializable, an implementation can simply throw a runtime exception in this method. -
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 newSchemawhich is always unresolved and will be resolved by the framework later. -
getUnresolvedSchema
Returns the schema of the table or view.The schema can reference objects from other catalogs and will be resolved and validated by the framework when accessing the table or view.
- See Also:
-
getComment
String getComment()Get comment of the table or view.- Returns:
- comment of the table/view.
-
copy
CatalogBaseTable copy()Get a deep copy of the CatalogBaseTable instance.- Returns:
- a copy of the CatalogBaseTable instance
-
getDescription
Get a brief description of the table or view.- Returns:
- an optional short description of the table/view
-
getDetailedDescription
Get a detailed description of the table or view.- Returns:
- an optional long description of the table/view
-
TableSchemaclass.