Interface ResultIterator<E>

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable, java.util.Iterator<E>

    public interface ResultIterator<E>
    extends java.util.Iterator<E>, java.io.Closeable
    Iterates over query results. Must be closed when done with it.
    Author:
    Marko Luksa
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      This method must be called on your iterator once you have finished so that any local or remote resources can be freed up.
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, hasNext, next, remove
    • Method Detail

      • close

        void close()
        This method must be called on your iterator once you have finished so that any local or remote resources can be freed up.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable