Package | Description |
---|---|
org.apache.hive.hcatalog.api | |
org.apache.hive.hcatalog.api.repl |
Modifier and Type | Field and Description |
---|---|
protected HCatTable |
HCatPartitionSpec.hcatTable |
Modifier and Type | Method and Description |
---|---|
HCatTable |
HCatTable.bucketCols(List<String> bucketCols)
Setter for list of bucket columns.
|
HCatTable |
HCatTable.collectionItemsTerminatedBy(char delimiter)
See row_format element of CREATE_TABLE DDL for Hive.
|
HCatTable |
HCatTable.cols(List<HCatFieldSchema> cols)
Setter for Column schemas.
|
HCatTable |
HCatTable.comment(String comment)
Setter for table-level comment.
|
HCatTable |
HCatTable.dbName(String dbName)
Setter for db-name.
|
abstract HCatTable |
HCatClient.deserializeTable(String hcatTableStringRep)
Deserializer for HCatTable.
|
HCatTable |
HCatClientHMSImpl.deserializeTable(String hcatTableStringRep) |
HCatTable |
HCatTable.escapeChar(char escapeChar)
See row_format element of CREATE_TABLE DDL for Hive.
|
HCatTable |
HCatTable.fieldsTerminatedBy(char delimiter)
See row_format element of CREATE_TABLE DDL for Hive.
|
HCatTable |
HCatTable.fileFormat(String fileFormat) |
HCatTable |
HCatCreateTableDesc.getHCatTable()
Getter for underlying HCatTable instance.
|
abstract HCatTable |
HCatClient.getTable(String dbName,
String tableName)
Gets the table.
|
HCatTable |
HCatClientHMSImpl.getTable(String dbName,
String tableName) |
HCatTable |
HCatPartition.hcatTable() |
HCatTable |
HCatTable.inputFileFormat(String inputFileFormat)
Setter for InputFormat class.
|
HCatTable |
HCatTable.linesTerminatedBy(char delimiter)
See row_format element of CREATE_TABLE DDL for Hive.
|
HCatTable |
HCatTable.location(String location)
Setter for location.
|
HCatTable |
HCatTable.mapKeysTerminatedBy(char delimiter)
See row_format element of CREATE_TABLE DDL for Hive.
|
HCatTable |
HCatTable.nullDefinedAs(char nullChar)
See row_format element of CREATE_TABLE DDL for Hive.
|
HCatTable |
HCatTable.numBuckets(int numBuckets)
Setter for number of buckets.
|
HCatTable |
HCatTable.outputFileFormat(String outputFileFormat)
Setter for OutputFormat class.
|
HCatTable |
HCatTable.owner(String owner)
Setter for table-owner.
|
HCatTable |
HCatTable.partCol(HCatFieldSchema partCol)
Setter for individual partition columns.
|
HCatTable |
HCatTable.partCols(List<HCatFieldSchema> partCols)
Setter for list of partition columns.
|
HCatTable |
HCatTable.resolve(HCatTable rhs,
EnumSet<HCatTable.TableAttribute> attributes)
Method to "adopt" the specified attributes from rhs into this HCatTable object.
|
HCatTable |
HCatTable.serdeLib(String serde)
Setter for SerDe class name.
|
HCatTable |
HCatTable.serdeParam(String paramName,
String value) |
HCatTable |
HCatTable.serdeParams(Map<String,String> serdeParams) |
HCatTable |
HCatTable.sortCols(List<org.apache.hadoop.hive.metastore.api.Order> sortCols)
Setter for Sort-cols.
|
HCatTable |
HCatTable.storageHandler(String storageHandler)
Setter for StorageHandler class.
|
HCatTable |
HCatTable.tableName(String tableName)
Setter for TableName.
|
HCatTable |
HCatTable.tableType(HCatTable.Type tableType)
Setter for table-type.
|
HCatTable |
HCatTable.tblProps(Map<String,String> tblProps)
Setter for TableProperty map.
|
Modifier and Type | Method and Description |
---|---|
static HCatCreateTableDesc.Builder |
HCatCreateTableDesc.create(HCatTable table)
Getter for HCatCreateTableDesc.Builder instance.
|
static HCatCreateTableDesc.Builder |
HCatCreateTableDesc.create(HCatTable table,
boolean ifNotExists)
Getter for HCatCreateTableDesc.Builder instance.
|
EnumSet<HCatTable.TableAttribute> |
HCatTable.diff(HCatTable rhs)
Method to compare the attributes of 2 HCatTable instances.
|
EnumSet<HCatTable.TableAttribute> |
HCatTable.diff(HCatTable rhs,
EnumSet<HCatTable.TableAttribute> attributesToCheck)
Method to compare the attributes of 2 HCatTable instances.
|
HCatPartition |
HCatPartition.hcatTable(HCatTable hcatTable) |
HCatTable |
HCatTable.resolve(HCatTable rhs,
EnumSet<HCatTable.TableAttribute> attributes)
Method to "adopt" the specified attributes from rhs into this HCatTable object.
|
abstract String |
HCatClient.serializeTable(HCatTable hcatTable)
Serializer for HCatTable.
|
String |
HCatClientHMSImpl.serializeTable(HCatTable hcatTable) |
abstract void |
HCatClient.updateTableSchema(String dbName,
String tableName,
HCatTable newTableDefinition)
Updates the Table's whole schema (including column schema, I/O Formats, SerDe definitions, etc.)
|
void |
HCatClientHMSImpl.updateTableSchema(String dbName,
String tableName,
HCatTable newTableDefinition) |
Constructor and Description |
---|
HCatPartition(HCatTable hcatTable,
Map<String,String> partitionKeyValues,
String location) |
HCatPartitionSpec(HCatTable hcatTable,
PartitionSpecProxy partitionSpecProxy) |
Modifier and Type | Method and Description |
---|---|
static long |
ReplicationUtils.getLastReplicationId(HCatPartition ptn,
HCatTable parentTable)
Gets the last known replication state of the provided partition.
|
static long |
ReplicationUtils.getLastReplicationId(HCatTable tbl)
Gets the last known replication state of the provided table.
|
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.