Interface Result

All Superinterfaces:
QueryResult
All Known Subinterfaces:
AddResult, DocResult, InsertResult, RowResult, SqlResult
All Known Implementing Classes:
AbstractDataResult, AddResultImpl, DocResultImpl, InsertResultImpl, RowResultImpl, SqlMultiResult, SqlSingleResult, SqlUpdateResult, StatementExecuteOk, UpdateResult

public interface Result
extends QueryResult
Base result.
  • Method Summary

    Modifier and Type Method Description
    long getAffectedItemsCount()
    Get the count of affected items from manipulation statements.
    java.util.Iterator<Warning> getWarnings()
    Get warnings generated during statement execution.
    int getWarningsCount()
    Get the number of warnings generated during statement execution.
  • Method Details

    • getAffectedItemsCount

      long getAffectedItemsCount()
      Get the count of affected items from manipulation statements. This method forces internal buffering of the result.
      Returns:
      count
    • getWarningsCount

      int getWarningsCount()
      Get the number of warnings generated during statement execution. This method forces internal buffering of the result.
      Returns:
      number of warnings
    • getWarnings

      java.util.Iterator<Warning> getWarnings()
      Get warnings generated during statement execution. This method forces internal buffering of the result.
      Returns:
      iterator over warnings