Constructor and Description |
---|
HiveTable(HiveDatabase hiveDatabase,
PathTranslator pathTranslator,
String name,
Schema schema,
List<ColumnStatisticsInfo> statistics,
List<FieldSchema> cols,
List<org.apache.hadoop.hive.metastore.api.Partition> partitions,
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(HiveDatabase hiveDatabase, PathTranslator pathTranslator, String name, Schema schema, List<ColumnStatisticsInfo> statistics, List<FieldSchema> cols, List<org.apache.hadoop.hive.metastore.api.Partition> partitions, Layout layout, org.apache.hadoop.hive.metastore.api.Table table)
hiveDatabase
- the hive dbpathTranslator
- the path translatorname
- the table nameschema
- the table schemastatistics
- the table statisticscols
- partition keyspartitions
- 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() throws IOException
getPartitions
in interface UdbTable
IOException
Copyright © 2023. All Rights Reserved.