Class 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 Detail

      • 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 Detail

      • 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:
        next in interface org.apache.flink.util.MutableObjectIterator<K>
        Throws:
        IOException
      • next

        public org.apache.flink.api.java.tuple.Tuple2<K,​V> next()
                                                               throws IOException
        Specified by:
        next in interface org.apache.flink.util.MutableObjectIterator<K>
        Throws:
        IOException