| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql.io | |
| org.apache.hadoop.hive.ql.io.orc |
The Optimized Row Columnar (ORC) File Format.
|
| Modifier and Type | Method and Description |
|---|---|
static List<AcidInputFormat.DeltaMetaData> |
AcidUtils.serializeDeleteDeltas(List<AcidUtils.ParsedDelta> deltas,
org.apache.hadoop.fs.FileSystem fs)
Convert the list of deltas into an equivalent list of begin/end
write id pairs.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.fs.Path[] |
AcidUtils.deserializeDeleteDeltas(org.apache.hadoop.fs.Path root,
List<AcidInputFormat.DeltaMetaData> deleteDeltas,
Map<String,AcidInputFormat.DeltaMetaData> pathToDeltaMetaData)
Convert the list of begin/end write id pairs to a list of delete delta
directories.
|
static org.apache.hadoop.fs.Path[] |
AcidUtils.deserializeDeleteDeltas(org.apache.hadoop.fs.Path root,
List<AcidInputFormat.DeltaMetaData> deleteDeltas,
Map<String,AcidInputFormat.DeltaMetaData> pathToDeltaMetaData)
Convert the list of begin/end write id pairs to a list of delete delta
directories.
|
static Map<String,Integer> |
AcidUtils.getDeltaToAttemptIdMap(Map<String,AcidInputFormat.DeltaMetaData> pathToDeltaMetaData,
org.apache.hadoop.fs.Path[] deleteDeltaDirs,
int bucket)
If the direct insert is on for ACID tables, the files will contain an "_attemptID" postfix.
|
| Modifier and Type | Method and Description |
|---|---|
List<AcidInputFormat.DeltaMetaData> |
OrcSplit.getDeltas() |
List<AcidInputFormat.DeltaMetaData> |
OrcNewSplit.getDeltas() |
| Constructor and Description |
|---|
OrcSplit(org.apache.hadoop.fs.Path path,
Object fileId,
long offset,
long length,
String[] hosts,
org.apache.orc.impl.OrcTail orcTail,
boolean isOriginal,
boolean hasBase,
List<AcidInputFormat.DeltaMetaData> deltas,
long projectedDataSize,
long fileLen,
org.apache.hadoop.fs.Path rootDir,
OrcSplit.OffsetAndBucketProperty syntheticAcidProps) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.