|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tez.runtime.library.common.sort.impl.dflt.DefaultSorter.MRResultIterator
protected class DefaultSorter.MRResultIterator
| Constructor Summary | |
|---|---|
DefaultSorter.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 DefaultSorter.MRResultIterator(int start,
int end)
| Method Detail |
|---|
public boolean next()
throws IOException
TezRawKeyValueIterator
next in interface TezRawKeyValueIteratortrue if there exists a key/value,
false otherwise.
IOException
public org.apache.hadoop.io.DataInputBuffer getKey()
throws IOException
TezRawKeyValueIterator
getKey in interface TezRawKeyValueIteratorIOException
public org.apache.hadoop.io.DataInputBuffer getValue()
throws IOException
TezRawKeyValueIterator
getValue in interface TezRawKeyValueIteratorIOExceptionpublic org.apache.hadoop.util.Progress getProgress()
TezRawKeyValueIterator
getProgress in interface TezRawKeyValueIteratorpublic void close()
TezRawKeyValueIterator
close in interface TezRawKeyValueIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||