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

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    org.apache.flink.api.java.tuple.Tuple2<K,V>
     
    org.apache.flink.api.java.tuple.Tuple2<K,V>
    next(org.apache.flink.api.java.tuple.Tuple2<K,V> kvPair)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      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