|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapred.MapTask.MapOutputBuffer.MRResultIterator
protected class MapTask.MapOutputBuffer.MRResultIterator
| Constructor Summary | |
|---|---|
MapTask.MapOutputBuffer.MRResultIterator(int start,
int end)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the iterator so that the underlying streams can be closed. |
org.apache.hadoop.io.DataInputBuffer |
getKey()
Gets the current raw key. |
org.apache.hadoop.util.Progress |
getProgress()
Gets the Progress object; this has a float (0.0 - 1.0) indicating the bytes processed by the iterator so far |
org.apache.hadoop.io.DataInputBuffer |
getValue()
Gets the current raw value. |
boolean |
next()
Sets up the current key and value (for getKey and getValue). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapTask.MapOutputBuffer.MRResultIterator(int start,
int end)
| Method Detail |
|---|
public boolean next()
throws IOException
RawKeyValueIterator
next in interface RawKeyValueIteratortrue if there exists a key/value,
false otherwise.
IOException
public org.apache.hadoop.io.DataInputBuffer getKey()
throws IOException
RawKeyValueIterator
getKey in interface RawKeyValueIteratorIOException
public org.apache.hadoop.io.DataInputBuffer getValue()
throws IOException
RawKeyValueIterator
getValue in interface RawKeyValueIteratorIOExceptionpublic org.apache.hadoop.util.Progress getProgress()
RawKeyValueIterator
getProgress in interface RawKeyValueIteratorpublic void close()
RawKeyValueIterator
close in interface RawKeyValueIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||