public abstract class GroupingShuffleEntryIterator extends Object implements Iterator<KeyGroupedShuffleEntries>
| Constructor and Description |
|---|
GroupingShuffleEntryIterator(Reiterator<ShuffleEntry> shuffleIterator)
Constructs a GroupingShuffleEntryIterator, given a Reiterator
over ungrouped ShuffleEntries, assuming the ungrouped
ShuffleEntries for a given key are consecutive.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
KeyGroupedShuffleEntries |
next() |
protected abstract void |
notifyElementRead(long byteSize)
Notifies observers about a new element read.
|
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic GroupingShuffleEntryIterator(Reiterator<ShuffleEntry> shuffleIterator)
protected abstract void notifyElementRead(long byteSize)
public boolean hasNext()
hasNext in interface Iterator<KeyGroupedShuffleEntries>public KeyGroupedShuffleEntries next()
next in interface Iterator<KeyGroupedShuffleEntries>public void remove()
remove in interface Iterator<KeyGroupedShuffleEntries>