|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface MySequenceFile.Sorter.RawKeyValueIterator
The interface to iterate over raw keys/values of SequenceFiles.
| Method Summary | |
|---|---|
void |
close()
closes the iterator so that the underlying streams can be closed |
org.apache.hadoop.io.DataOutputBuffer |
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 |
MySequenceFile.ValueBytes |
getValue()
Gets the current raw value |
boolean |
next()
Sets up the current key and value (for getKey and getValue) |
| Method Detail |
|---|
org.apache.hadoop.io.DataOutputBuffer getKey()
throws IOException
IOException
MySequenceFile.ValueBytes getValue()
throws IOException
IOException
boolean next()
throws IOException
IOException
void close()
throws IOException
IOExceptionorg.apache.hadoop.util.Progress getProgress()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||