public class DataSplit extends Object implements Split
| Modifier and Type | Class and Description |
|---|---|
static class |
DataSplit.Builder
Builder for
DataSplit. |
| Constructor and Description |
|---|
DataSplit() |
public long snapshotId()
public BinaryRow partition()
public int bucket()
public String bucketPath()
public List<DataFileMeta> beforeFiles()
public Optional<List<DeletionFile>> beforeDeletionFiles()
public List<DataFileMeta> dataFiles()
public Optional<List<DeletionFile>> deletionFiles()
SplitIf there is no corresponding deletion file, the element will be null.
deletionFiles in interface Splitpublic boolean isStreaming()
public boolean rawConvertible()
public OptionalLong latestFileCreationEpochMillis()
public OptionalLong earliestFileCreationEpochMillis()
public boolean mergedRowCountAvailable()
public long mergedRowCount()
public Object minValue(int fieldIndex, DataField dataField, SimpleStatsEvolutions evolutions)
public Object maxValue(int fieldIndex, DataField dataField, SimpleStatsEvolutions evolutions)
public long partialMergedRowCount()
1. raw file and no deletion file.
2. raw file + deletion file with cardinality.
public Optional<List<RawFile>> convertToRawFiles()
SplitOptional wrapping
a list of RawFiles to be read without merging. Otherwise, returns Optional.empty().convertToRawFiles in interface Split@Nullable public Optional<List<IndexFile>> indexFiles()
SplitIf there is no corresponding index file, the element will be null.
indexFiles in interface Splitpublic void serialize(DataOutputView out) throws IOException
IOExceptionpublic static DataSplit deserialize(DataInputView in) throws IOException
IOExceptionpublic static DataSplit.Builder builder()
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.