public abstract class AbstractCatalogTable extends Object implements CatalogTable
CatalogBaseTable.TableKind
Constructor and Description |
---|
AbstractCatalogTable(TableSchema tableSchema,
List<String> partitionKeys,
Map<String,String> options,
String comment) |
AbstractCatalogTable(TableSchema tableSchema,
Map<String,String> options,
String comment) |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get comment 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.
|
TableSchema |
getSchema() |
boolean |
isPartitioned()
Check if the table is partitioned or not.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copy, fromProperties, getTableKind, of, toProperties
copy, getDescription, getDetailedDescription, getUnresolvedSchema
public AbstractCatalogTable(TableSchema tableSchema, Map<String,String> options, String comment)
public boolean isPartitioned()
CatalogTable
isPartitioned
in interface CatalogTable
public List<String> getPartitionKeys()
CatalogTable
getPartitionKeys
in interface CatalogTable
public Map<String,String> getOptions()
CatalogBaseTable
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.
getOptions
in interface CatalogBaseTable
public TableSchema getSchema()
getSchema
in interface CatalogBaseTable
public String getComment()
CatalogBaseTable
getComment
in interface CatalogBaseTable
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.