public abstract class AbstractCatalogTable extends Object implements CatalogTable
Constructor and Description |
---|
AbstractCatalogTable(TableSchema tableSchema,
List<String> partitionKeys,
Map<String,String> properties,
String comment) |
AbstractCatalogTable(TableSchema tableSchema,
Map<String,String> properties,
String comment) |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get comment of the table or view.
|
List<String> |
getPartitionKeys()
Get the partition keys of the table.
|
Map<String,String> |
getProperties()
Get the properties of the table.
|
TableSchema |
getSchema()
Get the schema of the table.
|
boolean |
isPartitioned()
Check if the table is partitioned or not.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toProperties
copy, getDescription, getDetailedDescription
public AbstractCatalogTable(TableSchema tableSchema, Map<String,String> properties, String comment)
public boolean isPartitioned()
CatalogTable
isPartitioned
in interface CatalogTable
public List<String> getPartitionKeys()
CatalogTable
getPartitionKeys
in interface CatalogTable
public Map<String,String> getProperties()
CatalogBaseTable
getProperties
in interface CatalogBaseTable
public TableSchema getSchema()
CatalogBaseTable
getSchema
in interface CatalogBaseTable
public String getComment()
CatalogBaseTable
getComment
in interface CatalogBaseTable
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.