Interface ThrowingIterator<E>

    • Method Detail

      • hasNext

        boolean hasNext()
        Returns true if the iteration has more elements. (In other words, returns true if next() would return an element rather than throwing an exception.)
        Returns:
        true if the iteration has more elements
      • next

        E next()
        throws IOException,
               org.apache.flink.util.StateMigrationException
        Returns the next element in the iteration.
        Returns:
        the next element in the iteration
        Throws:
        NoSuchElementException - if the iteration has no more elements
        IOException
        org.apache.flink.util.StateMigrationException