| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql.ddl.table.partition | |
| org.apache.hadoop.hive.ql.hooks |
| Modifier and Type | Method and Description |
|---|---|
static void |
PartitionUtils.addTablePartsOutputs(Hive db,
Set<WriteEntity> outputs,
Table table,
List<Map<String,String>> partitionSpecs,
boolean allowMany,
WriteEntity.WriteType writeType)
Add the table partitions to be modified in the output, so that it is available for the pre-execution hook.
|
| Modifier and Type | Method and Description |
|---|---|
static WriteEntity.WriteType |
WriteEntity.determineAlterTableWriteType(AlterTableType op,
Table table,
HiveConf conf)
Determine the type of lock to request for a given alter table type.
|
WriteEntity.WriteType |
WriteEntity.getWriteType()
Determine which type of write this is.
|
static WriteEntity.WriteType |
WriteEntity.WriteType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteEntity.WriteType[] |
WriteEntity.WriteType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WriteEntity.setWriteType(WriteEntity.WriteType type)
Only use this if you are very sure of what you are doing.
|
| Constructor and Description |
|---|
WriteEntity(org.apache.hadoop.hive.metastore.api.Database db,
String objName,
String className,
Entity.Type type,
WriteEntity.WriteType writeType)
Constructor for objects represented as String.
|
WriteEntity(org.apache.hadoop.hive.metastore.api.Database database,
WriteEntity.WriteType type) |
WriteEntity(org.apache.hadoop.hive.metastore.api.DataConnector connector,
WriteEntity.WriteType type) |
WriteEntity(DummyPartition p,
WriteEntity.WriteType type,
boolean complete) |
WriteEntity(Partition p,
WriteEntity.WriteType type)
Constructor for a partition.
|
WriteEntity(Table t,
WriteEntity.WriteType type)
Constructor for a table.
|
WriteEntity(Table t,
WriteEntity.WriteType type,
boolean complete) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.