Interface Dataset.Cursor<CASE>

All Superinterfaces:
AutoCloseable
Enclosing interface:
Dataset<INPUT,OUTPUT>

@NotThreadSafe public static interface Dataset.Cursor<CASE> extends AutoCloseable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close all cursor resources
    Fetch the next case.
  • Method Details

    • next

      Optional<CASE> next()
      Fetch the next case. Returns empty if there are no more cases to fetch.

      Implementations may make external requests to fetch data.

      If this method is invoked after close() an IllegalStateException will be thrown

    • close

      void close()
      close all cursor resources
      Specified by:
      close in interface AutoCloseable