Class BinaryRowChannelInputViewIterator
java.lang.Object
org.apache.flink.table.runtime.io.BinaryRowChannelInputViewIterator
- All Implemented Interfaces:
org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData>
- Direct Known Subclasses:
LongHashPartitionChannelReaderInputViewIterator
public class BinaryRowChannelInputViewIterator
extends Object
implements org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData>
A simple iterator over the input read though an I/O channel. Use
BinaryRowDataSerializer.deserializeFromPages(org.apache.flink.runtime.memory.AbstractPagedInputView).-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<org.apache.flink.core.memory.MemorySegment>protected final org.apache.flink.runtime.io.disk.iomanager.ChannelReaderInputViewprotected final BinaryRowDataSerializer -
Constructor Summary
ConstructorsConstructorDescriptionBinaryRowChannelInputViewIterator(org.apache.flink.runtime.io.disk.iomanager.ChannelReaderInputView inView, List<org.apache.flink.core.memory.MemorySegment> freeMemTarget, BinaryRowDataSerializer serializer) BinaryRowChannelInputViewIterator(org.apache.flink.runtime.io.disk.iomanager.ChannelReaderInputView inView, BinaryRowDataSerializer serializer) -
Method Summary
-
Field Details
-
inView
protected final org.apache.flink.runtime.io.disk.iomanager.ChannelReaderInputView inView -
serializer
-
freeMemTarget
-
-
Constructor Details
-
BinaryRowChannelInputViewIterator
public BinaryRowChannelInputViewIterator(org.apache.flink.runtime.io.disk.iomanager.ChannelReaderInputView inView, BinaryRowDataSerializer serializer) -
BinaryRowChannelInputViewIterator
public BinaryRowChannelInputViewIterator(org.apache.flink.runtime.io.disk.iomanager.ChannelReaderInputView inView, List<org.apache.flink.core.memory.MemorySegment> freeMemTarget, BinaryRowDataSerializer serializer)
-
-
Method Details
-
next
public org.apache.flink.table.data.binary.BinaryRowData next(org.apache.flink.table.data.binary.BinaryRowData reuse) throws IOException - Specified by:
nextin interfaceorg.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData>- Throws:
IOException
-
next
- Specified by:
nextin interfaceorg.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData>- Throws:
IOException
-