public class FileSinkOperator.FSPaths extends Object implements Cloneable
| Constructor and Description |
|---|
FSPaths(org.apache.hadoop.fs.Path specPath,
boolean isMmTable,
boolean isDirectInsert,
boolean isInsertOverwrite,
AcidUtils.Operation acidOperation) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortWritersAndUpdaters(org.apache.hadoop.fs.FileSystem fs,
boolean abort,
boolean delete) |
void |
addToStat(String statType,
long amount) |
org.apache.hadoop.fs.Path |
buildTaskOutputTempPath() |
org.apache.hadoop.fs.Path |
buildTmpPath() |
void |
closeWriters(boolean abort,
List<org.apache.hadoop.fs.Path> deleteDeltas) |
int |
createDynamicBucket(int bucketNum)
This method is intended for use with ACID unbucketed tables, where the DELETE ops behave as
though they are bucketed, but without an explicit pre-specified bucket count.
|
Collection<String> |
getStoredStats() |
void |
initializeBucketPaths(int filesIdx,
String taskId,
boolean isNativeTable,
boolean isSkewedStoredAsSubDirectories) |
public FSPaths(org.apache.hadoop.fs.Path specPath,
boolean isMmTable,
boolean isDirectInsert,
boolean isInsertOverwrite,
AcidUtils.Operation acidOperation)
public void closeWriters(boolean abort,
List<org.apache.hadoop.fs.Path> deleteDeltas)
throws HiveException
HiveExceptionpublic void abortWritersAndUpdaters(org.apache.hadoop.fs.FileSystem fs,
boolean abort,
boolean delete)
throws HiveException
HiveExceptionpublic void initializeBucketPaths(int filesIdx,
String taskId,
boolean isNativeTable,
boolean isSkewedStoredAsSubDirectories)
public org.apache.hadoop.fs.Path buildTmpPath()
public org.apache.hadoop.fs.Path buildTaskOutputTempPath()
public void addToStat(String statType, long amount)
public Collection<String> getStoredStats()
public int createDynamicBucket(int bucketNum)
SemanticAnalyzer.getPartitionColsFromBucketColsForUpdateDelete(Operator, boolean)Copyright © 2024 The Apache Software Foundation. All rights reserved.