public final class RecordReaderIterator extends Object implements MutableObjectIterator<Record>
MutableObjectIterator that wraps a Nephele Reader producing Records.| Constructor and Description |
|---|
RecordReaderIterator(MutableReader<Record> reader)
Creates a new iterator, wrapping the given reader.
|
public RecordReaderIterator(MutableReader<Record> reader)
reader - The reader to wrap.public Record next(Record reuse) throws IOException
next in interface MutableObjectIterator<Record>IOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.