Interface Cursor<T>

Type Parameters:
T - The type of elements returned by this iterator.
All Superinterfaces:
AutoCloseable, Iterator<T>
All Known Subinterfaces:
ResultSet<T>

public interface Cursor<T> extends Iterator<T>, AutoCloseable
Provides methods to iterate over operation results and release underlying resources.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes this cursor and releases any underlying resources.

    Methods inherited from interface java.util.Iterator

    forEachRemaining, hasNext, next, remove
  • Method Details

    • close

      void close()
      Closes this cursor and releases any underlying resources.
      Specified by:
      close in interface AutoCloseable