public static final class AcidInputFormat.DeltaMetaData extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
DeltaMetaData() |
DeltaMetaData(long minWriteId,
long maxWriteId,
List<Integer> stmtIds,
long visibilityTxnId,
List<AcidInputFormat.DeltaFileMetaData> deltaFiles) |
| Modifier and Type | Method and Description |
|---|---|
List<AcidInputFormat.DeltaFileMetaData> |
getDeltaFiles() |
List<AcidInputFormat.DeltaFileMetaData> |
getDeltaFilesForStmtId(Integer stmtId) |
long |
getMaxWriteId() |
long |
getMinWriteId() |
List<org.apache.commons.lang3.tuple.Pair<org.apache.hadoop.fs.Path,Integer>> |
getPaths(org.apache.hadoop.fs.Path root) |
List<Integer> |
getStmtIds() |
long |
getVisibilityTxnId() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public DeltaMetaData()
public DeltaMetaData(long minWriteId,
long maxWriteId,
List<Integer> stmtIds,
long visibilityTxnId,
List<AcidInputFormat.DeltaFileMetaData> deltaFiles)
minWriteId - min writeId of the delta directorymaxWriteId - max writeId of the delta directorystmtIds - delta dir suffixes when a single txn writes > 1 delta in the same partitionvisibilityTxnId - maybe 0, if the dir name didn't have it. txnid:0 is always visibledeltaFiles - bucketFiles in the directorypublic long getMinWriteId()
public long getMaxWriteId()
public long getVisibilityTxnId()
public List<AcidInputFormat.DeltaFileMetaData> getDeltaFiles()
public List<AcidInputFormat.DeltaFileMetaData> getDeltaFilesForStmtId(Integer stmtId)
public void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic List<org.apache.commons.lang3.tuple.Pair<org.apache.hadoop.fs.Path,Integer>> getPaths(org.apache.hadoop.fs.Path root)
Copyright © 2024 The Apache Software Foundation. All rights reserved.