public static interface SequenceFile.Sorter.RawKeyValueIterator
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
closes the iterator so that the underlying streams can be closed
|
DataOutputBuffer |
getKey()
Gets the current raw key
|
Progress |
getProgress()
Gets the Progress object; this has a float (0.0 - 1.0)
indicating the bytes processed by the iterator so far
|
SequenceFile.ValueBytes |
getValue()
Gets the current raw value
|
boolean |
next()
Sets up the current key and value (for getKey and getValue)
|
DataOutputBuffer getKey() throws IOException
IOExceptionSequenceFile.ValueBytes getValue() throws IOException
IOExceptionboolean next()
throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionProgress getProgress()
Copyright © 2009 The Apache Software Foundation