@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) |
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, wait
addFilter, deletedFilter, mergeEntries, mergeEntries, mergeEntries, readDeletedEntries, readDeletedEntries, readManifestEntries
public static final RowType SCHEMA
public ManifestEntry(FileKind kind, BinaryRow partition, int bucket, int totalBuckets, DataFileMeta file)
public int totalBuckets()
public DataFileMeta file()
public FileEntry.Identifier identifier()
identifier
in interface FileEntry
public 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
IOException
public ManifestEntry fromBytes(byte[] bytes) throws IOException
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.