Class ChannelReaderKVInputViewIterator<K,V>
java.lang.Object
org.apache.flink.table.runtime.operators.sort.ChannelReaderKVInputViewIterator<K,V>
- All Implemented Interfaces:
org.apache.flink.util.MutableObjectIterator<org.apache.flink.api.java.tuple.Tuple2<K,V>>
public class ChannelReaderKVInputViewIterator<K,V>
extends Object
implements org.apache.flink.util.MutableObjectIterator<org.apache.flink.api.java.tuple.Tuple2<K,V>>
Key-Value style channel reader input view iterator.
-
Constructor Summary
ConstructorsConstructorDescriptionChannelReaderKVInputViewIterator(org.apache.flink.runtime.io.disk.iomanager.AbstractChannelReaderInputView inView, List<org.apache.flink.core.memory.MemorySegment> freeMemTarget, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, org.apache.flink.api.common.typeutils.TypeSerializer<V> valueSerializer) -
Method Summary
-
Constructor Details
-
ChannelReaderKVInputViewIterator
public ChannelReaderKVInputViewIterator(org.apache.flink.runtime.io.disk.iomanager.AbstractChannelReaderInputView inView, List<org.apache.flink.core.memory.MemorySegment> freeMemTarget, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, org.apache.flink.api.common.typeutils.TypeSerializer<V> valueSerializer)
-
-
Method Details
-
next
public org.apache.flink.api.java.tuple.Tuple2<K,V> next(org.apache.flink.api.java.tuple.Tuple2<K, V> kvPair) throws IOException- Specified by:
nextin interfaceorg.apache.flink.util.MutableObjectIterator<K>- Throws:
IOException
-
next
- Specified by:
nextin interfaceorg.apache.flink.util.MutableObjectIterator<K>- Throws:
IOException
-