Interface RowSet<R>

All Superinterfaces:
Iterable<R>, SqlResult<RowSet<R>>

public interface RowSet<R> extends Iterable<R>, SqlResult<RowSet<R>>
The execution result of the row set of a query provided as <R>, commonly used as a RowSet<Row>. Using a collector query might provide a different result.
  • Method Details

    • iterator

      RowIterator<R> iterator()
      Specified by:
      iterator in interface Iterable<R>
    • next

      RowSet<R> next()
      Description copied from interface: SqlResult
      Return the next available result or null, e.g for a simple query that executed multiple queries or for a batch result.
      Specified by:
      next in interface SqlResult<R>
      Returns:
      the next available result or null if none is available
    • stream

      default Stream<R> stream()
      Returns:
      a stream of rows