Package | Description |
---|---|
org.apache.hadoop.hive.ql.metadata | |
org.apache.hadoop.hive.ql.metadata.formatting |
Modifier and Type | Method and Description |
---|---|
PrimaryKeyInfo |
Hive.getPrimaryKeys(String dbName,
String tblName)
Get all primary key columns associated with the table.
|
Modifier and Type | Method and Description |
---|---|
void |
MetaDataFormatter.describeTable(DataOutputStream out,
String colPath,
String tableName,
Table tbl,
Partition part,
List<FieldSchema> cols,
boolean isFormatted,
boolean isExt,
boolean isPretty,
boolean isOutputPadded,
List<ColumnStatisticsObj> colStats,
PrimaryKeyInfo pkInfo,
ForeignKeyInfo fkInfo)
Describe table.
|
void |
JsonMetaDataFormatter.describeTable(DataOutputStream out,
String colPath,
String tableName,
Table tbl,
Partition part,
List<FieldSchema> cols,
boolean isFormatted,
boolean isExt,
boolean isPretty,
boolean isOutputPadded,
List<ColumnStatisticsObj> colStats,
PrimaryKeyInfo pkInfo,
ForeignKeyInfo fkInfo)
Describe table.
|
static String |
MetaDataFormatUtils.getConstraintsInformation(PrimaryKeyInfo pkInfo,
ForeignKeyInfo fkInfo) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.