Interface QueryResultItem<T>


public interface QueryResultItem<T>
Represents a single item in a multipart query execution. Can be either an update count or a list of objects.
Since:
4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    int[]
    Returns batch update result in a form of array of individual update counts.
    Returns a list of selected objects.
    int
    Returns an update count.
    boolean
    Returns true if encapsulated result is a batch update result.
    boolean
    Returns true if encapsulated result is a select result.
  • Method Details

    • isSelectResult

      boolean isSelectResult()
      Returns true if encapsulated result is a select result.
    • isBatchUpdate

      boolean isBatchUpdate()
      Returns true if encapsulated result is a batch update result.
    • getSelectResult

      List<T> getSelectResult()
      Returns a list of selected objects. Throws unless isSelectResult() returns true.
    • getUpdateCount

      int getUpdateCount()
      Returns an update count.
    • getBatchUpdateCounts

      int[] getBatchUpdateCounts()
      Returns batch update result in a form of array of individual update counts.