Class CountingMutableObjectIterator<IN>

  • All Implemented Interfaces:
    org.apache.flink.util.MutableObjectIterator<IN>

    public class CountingMutableObjectIterator<IN>
    extends Object
    implements org.apache.flink.util.MutableObjectIterator<IN>
    • Constructor Detail

      • CountingMutableObjectIterator

        public CountingMutableObjectIterator​(org.apache.flink.util.MutableObjectIterator<IN> iterator,
                                             org.apache.flink.metrics.Counter numRecordsIn)
    • Method Detail

      • next

        public IN next​(IN reuse)
                throws IOException
        Specified by:
        next in interface org.apache.flink.util.MutableObjectIterator<IN>
        Throws:
        IOException
      • next

        public IN next()
                throws IOException
        Specified by:
        next in interface org.apache.flink.util.MutableObjectIterator<IN>
        Throws:
        IOException