protected class ReduceContextImpl.ValueIterator extends Object implements ReduceContext.ValueIterator<VALUEIN>
Modifier | Constructor and Description |
---|---|
protected |
ReduceContextImpl.ValueIterator() |
Modifier and Type | Method and Description |
---|---|
void |
clearMark()
Clear any previously set mark
|
boolean |
hasNext() |
void |
mark()
Mark the current record.
|
VALUEIN |
next() |
void |
remove() |
void |
reset()
Reset the iterator to the last record before a call to the previous mark
|
void |
resetBackupStore()
This method is called when the reducer moves from one key to
another.
|
public boolean hasNext()
public VALUEIN next()
public void remove()
public void mark() throws IOException
IOException
public void reset() throws IOException
IOException
public void clearMark() throws IOException
IOException
public void resetBackupStore() throws IOException
resetBackupStore
in interface ReduceContext.ValueIterator<VALUEIN>
IOException
Copyright © 2016 Apache Software Foundation. All Rights Reserved.