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. UseBinaryRowDataSerializer.deserializeFromPages(org.apache.flink.runtime.memory.AbstractPagedInputView)
.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<org.apache.flink.core.memory.MemorySegment>
freeMemTarget
protected org.apache.flink.runtime.io.disk.iomanager.ChannelReaderInputView
inView
protected BinaryRowDataSerializer
serializer
-
Constructor Summary
Constructors Constructor Description BinaryRowChannelInputViewIterator(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.table.data.binary.BinaryRowData
next()
org.apache.flink.table.data.binary.BinaryRowData
next(org.apache.flink.table.data.binary.BinaryRowData reuse)
-
-
-
Field Detail
-
inView
protected final org.apache.flink.runtime.io.disk.iomanager.ChannelReaderInputView inView
-
serializer
protected final BinaryRowDataSerializer serializer
-
freeMemTarget
protected final List<org.apache.flink.core.memory.MemorySegment> freeMemTarget
-
-
Constructor Detail
-
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 Detail
-
next
public org.apache.flink.table.data.binary.BinaryRowData next(org.apache.flink.table.data.binary.BinaryRowData reuse) throws IOException
- Specified by:
next
in interfaceorg.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData>
- Throws:
IOException
-
next
public org.apache.flink.table.data.binary.BinaryRowData next() throws IOException
- Specified by:
next
in interfaceorg.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData>
- Throws:
IOException
-
-