public class RecordReaderIterator extends SingleValueCloseableIterator<org.apache.hadoop.mapred.RecordReader>
RecordReader
instance
via the Iterator
.
This class is frequently used with the TupleEntrySchemeIterator
where there is only
one RecordReader to iterate values over.EMPTY, value
Constructor and Description |
---|
RecordReaderIterator(org.apache.hadoop.mapred.RecordReader reader) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
getCloseableInput
hasNext, next, remove, reset
public RecordReaderIterator(org.apache.hadoop.mapred.RecordReader reader)
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class SingleValueCloseableIterator<org.apache.hadoop.mapred.RecordReader>
java.io.IOException