| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql.metadata | |
| org.apache.hadoop.hive.ql.plan |
| Modifier and Type | Method and Description |
|---|---|
Partition |
Hive.loadPartition(org.apache.hadoop.fs.Path loadPath,
Table tbl,
Map<String,String> partSpec,
LoadTableDesc.LoadFileType loadFileType,
boolean inheritTableSpecs,
boolean inheritLocation,
boolean isSkewedStoreAsSubdir,
boolean isSrcLocal,
boolean isAcidIUDoperation,
boolean resetStatistics,
Long writeId,
int stmtId,
boolean isInsertOverwrite,
boolean isDirectInsert)
Load a directory into a Hive Table Partition - Alters existing content of
the partition with the contents of loadPath.
|
void |
Hive.loadTable(org.apache.hadoop.fs.Path loadPath,
String tableName,
LoadTableDesc.LoadFileType loadFileType,
boolean isSrcLocal,
boolean isSkewedStoreAsSubdir,
boolean isAcidIUDoperation,
boolean resetStatistics,
Long writeId,
int stmtId,
boolean isInsertOverwrite,
boolean isDirectInsert)
Load a directory into a Hive Table.
|
| Modifier and Type | Field and Description |
|---|---|
LoadTableDesc.LoadFileType |
DeferredWorkContext.loadFileType |
| Modifier and Type | Method and Description |
|---|---|
LoadTableDesc.LoadFileType |
LoadTableDesc.getLoadFileType() |
static LoadTableDesc.LoadFileType |
LoadTableDesc.LoadFileType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadTableDesc.LoadFileType[] |
LoadTableDesc.LoadFileType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LoadTableDesc.setLoadFileType(LoadTableDesc.LoadFileType loadFileType) |
| Constructor and Description |
|---|
LoadTableDesc(org.apache.hadoop.fs.Path sourcePath,
TableDesc table,
Map<String,String> partitionSpec,
LoadTableDesc.LoadFileType loadFileType,
AcidUtils.Operation writeType,
Long currentWriteId) |
LoadTableDesc(org.apache.hadoop.fs.Path sourcePath,
TableDesc table,
Map<String,String> partitionSpec,
LoadTableDesc.LoadFileType loadFileType,
Long writeId)
For use with non-ACID compliant operations, such as LOAD
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.