Constructor and Description |
---|
HiveTable(String name,
Schema schema,
List<ColumnStatisticsInfo> statistics,
List<FieldSchema> cols,
List<UdbPartition> udbPartitions,
Layout layout,
org.apache.hadoop.hive.metastore.api.Table table)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Layout |
getLayout() |
String |
getName() |
String |
getOwner() |
Map<String,String> |
getParameters() |
List<FieldSchema> |
getPartitionCols() |
List<UdbPartition> |
getPartitions() |
Schema |
getSchema() |
List<ColumnStatisticsInfo> |
getStatistics() |
public HiveTable(String name, Schema schema, List<ColumnStatisticsInfo> statistics, List<FieldSchema> cols, List<UdbPartition> udbPartitions, Layout layout, org.apache.hadoop.hive.metastore.api.Table table)
name
- the table nameschema
- the table schemastatistics
- the table statisticscols
- partition keysudbPartitions
- udb partition listlayout
- the table layouttable
- hive table objectpublic Schema getSchema()
public String getOwner()
public Map<String,String> getParameters()
getParameters
in interface UdbTable
public List<FieldSchema> getPartitionCols()
getPartitionCols
in interface UdbTable
public List<ColumnStatisticsInfo> getStatistics()
getStatistics
in interface UdbTable
public Layout getLayout()
public List<UdbPartition> getPartitions()
getPartitions
in interface UdbTable
Copyright © 2023. All Rights Reserved.