Modifier and Type | Method and Description |
---|---|
static SortedRun |
empty() |
boolean |
equals(Object o) |
List<DataFileMeta> |
files() |
static SortedRun |
fromSingle(DataFileMeta file) |
static SortedRun |
fromSorted(List<DataFileMeta> sortedFiles) |
static SortedRun |
fromUnsorted(List<DataFileMeta> unsortedFiles,
Comparator<InternalRow> keyComparator) |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
nonEmpty() |
String |
toString() |
long |
totalSize() |
void |
validate(Comparator<InternalRow> comparator) |
public static SortedRun empty()
public static SortedRun fromSingle(DataFileMeta file)
public static SortedRun fromSorted(List<DataFileMeta> sortedFiles)
public static SortedRun fromUnsorted(List<DataFileMeta> unsortedFiles, Comparator<InternalRow> keyComparator)
public List<DataFileMeta> files()
public boolean isEmpty()
public boolean nonEmpty()
public long totalSize()
@VisibleForTesting public void validate(Comparator<InternalRow> comparator)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.