Package | Description |
---|---|
org.apache.hadoop.hive.ql.metadata | |
org.apache.hadoop.hive.ql.plan |
Modifier and Type | Method and Description |
---|---|
Map<Map<String,String>,Partition> |
Hive.loadDynamicPartitions(org.apache.hadoop.fs.Path loadPath,
String tableName,
Map<String,String> partSpec,
LoadTableDesc.LoadFileType loadFileType,
int numDP,
int numLB,
boolean isAcid,
long writeId,
int stmtId,
boolean hasFollowingStatsTask,
AcidUtils.Operation operation,
boolean isInsertOverwrite)
Given a source directory name of the load path, load all dynamically generated partitions
into the specified table and return a list of strings that represent the dynamic partition
paths.
|
Partition |
Hive.loadPartition(org.apache.hadoop.fs.Path loadPath,
Table tbl,
Map<String,String> partSpec,
LoadTableDesc.LoadFileType loadFileType,
boolean inheritTableSpecs,
boolean isSkewedStoreAsSubdir,
boolean isSrcLocal,
boolean isAcidIUDoperation,
boolean hasFollowingStatsTask,
Long writeId,
int stmtId,
boolean isInsertOverwrite)
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 hasFollowingStatsTask,
Long writeId,
int stmtId,
boolean isInsertOverwrite)
Load a directory into a Hive Table.
|
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.