Package org.jooq

Interface ResultOrRows


  • public interface ResultOrRows
    A type that contains either a Result, an update count, or an exception.
    Author:
    Lukas Eder
    • Method Detail

      • result

        Result<Record> result()
        The result or null if there was no result.
        See Also:
        Statement.getResultSet()
      • rows

        int rows()
        The update count if applicable, or the number of rows in result().
        See Also:
        Statement.getUpdateCount()