@PublicEvolving public interface CatalogBaseTable
CatalogTable
,
CatalogView
Modifier and Type | Interface and Description |
---|---|
static class |
CatalogBaseTable.TableKind
The kind of
CatalogBaseTable . |
Modifier and Type | Method and Description |
---|---|
CatalogBaseTable |
copy()
Get a deep copy of the CatalogBaseTable instance.
|
String |
getComment()
Get comment of the table or view.
|
Optional<String> |
getDescription()
Get a brief description of the table or view.
|
Optional<String> |
getDetailedDescription()
Get a detailed description of the table or view.
|
Map<String,String> |
getOptions()
Returns a map of string-based options.
|
default TableSchema |
getSchema()
Deprecated.
This method returns the deprecated
TableSchema class. The old class was a
hybrid of resolved and unresolved schema information. It has been replaced by the new
Schema which is always unresolved and will be resolved by the framework later. |
CatalogBaseTable.TableKind |
getTableKind()
The kind of table this
CatalogBaseTable describes. |
default Schema |
getUnresolvedSchema()
Returns the schema of the table or view.
|
CatalogBaseTable.TableKind getTableKind()
CatalogBaseTable
describes.Map<String,String> getOptions()
In case of CatalogTable
, these options may determine the kind of connector and its
configuration for accessing the data in the external system. See DynamicTableFactory
for more information. If a CatalogTable
should not be serializable, an implementation
can simply throw a runtime exception in this method.
@Deprecated default TableSchema getSchema()
TableSchema
class. The old class was a
hybrid of resolved and unresolved schema information. It has been replaced by the new
Schema
which is always unresolved and will be resolved by the framework later.default Schema getUnresolvedSchema()
The schema can reference objects from other catalogs and will be resolved and validated by the framework when accessing the table or view.
ResolvedCatalogTable
,
ResolvedCatalogView
String getComment()
CatalogBaseTable copy()
Optional<String> getDescription()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.