public final class ReaderIterator<T> extends Object implements MutableObjectIterator<T>
MutableObjectIterator that wraps a Nephele Reader producing records of a certain type.| Constructor and Description |
|---|
ReaderIterator(MutableReader<DeserializationDelegate<T>> reader,
TypeSerializer<T> serializer)
Creates a new iterator, wrapping the given reader.
|
public ReaderIterator(MutableReader<DeserializationDelegate<T>> reader, TypeSerializer<T> serializer)
reader - The reader to wrap.public T next(T target) throws IOException
next in interface MutableObjectIterator<T>IOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.