public class ChannelReaderInputViewIterator extends Object implements MutableObjectIterator<BinaryRow>
Constructor and Description |
---|
ChannelReaderInputViewIterator(ChannelReaderInputView inView,
List<MemorySegment> freeMemTarget,
BinaryRowSerializer accessors) |
Modifier and Type | Method and Description |
---|---|
BinaryRow |
next()
Gets the next element from the collection.
|
BinaryRow |
next(BinaryRow reuse)
Gets the next element from the collection.
|
public ChannelReaderInputViewIterator(ChannelReaderInputView inView, List<MemorySegment> freeMemTarget, BinaryRowSerializer accessors)
public BinaryRow next(BinaryRow reuse) throws IOException
MutableObjectIterator
next
in interface MutableObjectIterator<BinaryRow>
reuse
- The target object into which to place next element if E is mutable.null
if the iterator is exhausted.IOException
- Thrown, if a problem occurred in the underlying I/O layer or in the
serialization / deserialization logicpublic BinaryRow next() throws IOException
MutableObjectIterator
next
in interface MutableObjectIterator<BinaryRow>
null
if the iterator is exhausted.IOException
- Thrown, if a problem occurred in the underlying I/O layer or in the
serialization / deserialization logicCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.