Interface SqlResult

All Superinterfaces:
FetchResult<Row>, InsertResult, java.lang.Iterable<Row>, java.util.Iterator<Row>, QueryResult, Result, RowResult
All Known Implementing Classes:
SqlMultiResult, SqlSingleResult, SqlUpdateResult

public interface SqlResult
extends Result, InsertResult, RowResult
A result from a SQL statement which may have several sets of data following by a DML result.
  • Method Details

    • nextResult

      default boolean nextResult()
      Move to the next result. This method has no effect after returning false for the first time.
      Returns:
      was there a next result that we moved to?
    • getAutoIncrementValue

      default java.lang.Long getAutoIncrementValue()
      Description copied from interface: InsertResult
      Get the auto-increment value if one was generated from a row insert statement.
      Specified by:
      getAutoIncrementValue in interface InsertResult
      Returns:
      auto-increment value