Class DataIterator<T>

  • Type Parameters:
    T - is the output data type returned by this iterator.
    All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.util.Iterator<T>, CloseableIterator<T>

    @Internal
    public class DataIterator<T>
    extends java.lang.Object
    implements CloseableIterator<T>
    Flink data iterator that reads CombinedScanTask into a CloseableIterator
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<T>
      • next

        public T next()
        Specified by:
        next in interface java.util.Iterator<T>
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException