@PublicEvolving public class RecordsBySplits<E> extends Object implements RecordsWithSplitIds<E>
| 限定符和类型 | 类和说明 |
|---|---|
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. |
| 构造器和说明 |
|---|
RecordsBySplits(Map<String,Collection<E>> recordsBySplit,
Set<String> finishedSplits) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 RecordsWithSplitIds<E>@Nullable public E nextRecordFromSplit()
RecordsWithSplitIdsnextRecordFromSplit 在接口中 RecordsWithSplitIds<E>public Set<String> finishedSplits()
RecordsWithSplitIdsfinishedSplits 在接口中 RecordsWithSplitIds<E>Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.