@Public public class ManifestEntry extends Object implements FileEntry
FileEntry.Identifier| Constructor and Description |
|---|
ManifestEntry(FileKind kind,
BinaryRow partition,
int bucket,
int totalBuckets,
DataFileMeta file) |
| Modifier and Type | Method and Description |
|---|---|
int |
bucket() |
ManifestEntry |
copyWithoutStats() |
boolean |
equals(Object o) |
String |
externalPath() |
List<String> |
extraFiles() |
DataFileMeta |
file() |
String |
fileName() |
ManifestEntry |
fromBytes(byte[] bytes) |
int |
hashCode() |
FileEntry.Identifier |
identifier() |
FileKind |
kind() |
int |
level() |
BinaryRow |
maxKey() |
BinaryRow |
minKey() |
BinaryRow |
partition() |
static long |
recordCount(List<ManifestEntry> manifestEntries) |
static long |
recordCountAdd(List<ManifestEntry> manifestEntries) |
static long |
recordCountDelete(List<ManifestEntry> manifestEntries) |
byte[] |
toBytes() |
String |
toString() |
int |
totalBuckets() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitaddFilter, deletedFilter, mergeEntries, mergeEntries, mergeEntries, readDeletedEntries, readDeletedEntries, readManifestEntriespublic static final RowType SCHEMA
public ManifestEntry(FileKind kind, BinaryRow partition, int bucket, int totalBuckets, DataFileMeta file)
@Nullable public String externalPath()
externalPath in interface FileEntrypublic List<String> extraFiles()
extraFiles in interface FileEntrypublic int totalBuckets()
public DataFileMeta file()
public FileEntry.Identifier identifier()
identifier in interface FileEntrypublic ManifestEntry copyWithoutStats()
public static long recordCount(List<ManifestEntry> manifestEntries)
public static long recordCountAdd(List<ManifestEntry> manifestEntries)
public static long recordCountDelete(List<ManifestEntry> manifestEntries)
public byte[] toBytes()
throws IOException
IOExceptionpublic ManifestEntry fromBytes(byte[] bytes) throws IOException
IOExceptionCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.