@PublicEvolving public class RecordsBySplits<E> extends Object implements RecordsWithSplitIds<E>
| Modifier and Type | Class and Description |
|---|---|
static class |
RecordsBySplits.Builder<E>
A utility builder to collect records in individual calls, rather than put a finished
collection in the
RecordsBySplits(Map, Set) constructor. |
| Constructor and Description |
|---|
RecordsBySplits(Map<String,Collection<E>> recordsBySplit,
Set<String> finishedSplits) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
finishedSplits()
Get the finished splits.
|
E |
nextRecordFromSplit()
Gets the next record from the current split.
|
String |
nextSplit()
Moves to the next split.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrecycle@Nullable public String nextSplit()
RecordsWithSplitIdsnextSplit in interface RecordsWithSplitIds<E>@Nullable public E nextRecordFromSplit()
RecordsWithSplitIdsnextRecordFromSplit in interface RecordsWithSplitIds<E>public Set<String> finishedSplits()
RecordsWithSplitIdsfinishedSplits in interface RecordsWithSplitIds<E>Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.