Constructor and Description |
---|
PartitionEntry(BinaryRow partition,
long recordCount,
long fileSizeInBytes,
long fileCount,
long lastFileCreationTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
fileCount() |
long |
fileSizeInBytes() |
static PartitionEntry |
fromDataFile(BinaryRow partition,
FileKind kind,
DataFileMeta file) |
static PartitionEntry |
fromManifestEntry(ManifestEntry entry) |
int |
hashCode() |
long |
lastFileCreationTime() |
static Collection<PartitionEntry> |
merge(Collection<ManifestEntry> fileEntries) |
static void |
merge(Collection<PartitionEntry> from,
Map<BinaryRow,PartitionEntry> to) |
PartitionEntry |
merge(PartitionEntry entry) |
static Collection<PartitionEntry> |
mergeSplits(Collection<DataSplit> splits) |
BinaryRow |
partition() |
long |
recordCount() |
public PartitionEntry(BinaryRow partition, long recordCount, long fileSizeInBytes, long fileCount, long lastFileCreationTime)
public BinaryRow partition()
public long recordCount()
public long fileSizeInBytes()
public long fileCount()
public long lastFileCreationTime()
public PartitionEntry merge(PartitionEntry entry)
public static PartitionEntry fromManifestEntry(ManifestEntry entry)
public static PartitionEntry fromDataFile(BinaryRow partition, FileKind kind, DataFileMeta file)
public static Collection<PartitionEntry> merge(Collection<ManifestEntry> fileEntries)
public static Collection<PartitionEntry> mergeSplits(Collection<DataSplit> splits)
public static void merge(Collection<PartitionEntry> from, Map<BinaryRow,PartitionEntry> to)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.