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 Detail

      • 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.