@Internal public class DefaultCatalogTable extends Object implements CatalogTable
CatalogTable.CatalogBaseTable.TableKind| 限定符 | 构造器和说明 |
|---|---|
protected |
DefaultCatalogTable(Schema schema,
String comment,
List<String> partitionKeys,
Map<String,String> options) |
| 限定符和类型 | 方法和说明 |
|---|---|
CatalogBaseTable |
copy()
Get a deep copy of the CatalogBaseTable instance.
|
CatalogTable |
copy(Map<String,String> options)
Returns a copy of this
CatalogTable with given table options options. |
boolean |
equals(Object o) |
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.
|
List<String> |
getPartitionKeys()
Get the partition keys of the table.
|
Schema |
getUnresolvedSchema()
Returns the schema of the table or view.
|
int |
hashCode() |
boolean |
isPartitioned()
Check if the table is partitioned or not.
|
Map<String,String> |
toProperties()
Serializes this instance into a map of string-based properties.
|
fromProperties, getTableKind, ofgetSchemapublic Schema getUnresolvedSchema()
CatalogBaseTableThe schema can reference objects from other catalogs and will be resolved and validated by the framework when accessing the table or view.
getUnresolvedSchema 在接口中 CatalogBaseTableResolvedCatalogTable,
ResolvedCatalogViewpublic String getComment()
CatalogBaseTablegetComment 在接口中 CatalogBaseTablepublic boolean isPartitioned()
CatalogTableisPartitioned 在接口中 CatalogTablepublic List<String> getPartitionKeys()
CatalogTablegetPartitionKeys 在接口中 CatalogTablepublic Map<String,String> getOptions()
CatalogBaseTableIn 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.
getOptions 在接口中 CatalogBaseTablepublic CatalogBaseTable copy()
CatalogBaseTablecopy 在接口中 CatalogBaseTablepublic CatalogTable copy(Map<String,String> options)
CatalogTableCatalogTable with given table options options.copy 在接口中 CatalogTablepublic Optional<String> getDescription()
CatalogBaseTablegetDescription 在接口中 CatalogBaseTablepublic Optional<String> getDetailedDescription()
CatalogBaseTablegetDetailedDescription 在接口中 CatalogBaseTablepublic Map<String,String> toProperties()
CatalogTableCompared to the pure table options in CatalogBaseTable.getOptions(), the map includes schema,
partitioning, and other characteristics in a serialized form.
toProperties 在接口中 CatalogTableCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.