Class GenericQueryResult<T>

    • Method Detail

      • size

        public int size()
        Description copied from interface: QueryResult
        Returns a number of results in the response.
        Specified by:
        size in interface QueryResult<T>
      • isList

        public boolean isList()
        Description copied from interface: QueryResult
        Returns whether current iteration result is a list or an update count.
        Specified by:
        isList in interface QueryResult<T>
      • firstList

        public List<T> firstList()
        Description copied from interface: QueryResult
        A utility method for quickly retrieving the first list in the response. Returns null if the query has no lists.
        Specified by:
        firstList in interface QueryResult<T>
      • firstBatchUpdateCount

        public int[] firstBatchUpdateCount()
        Description copied from interface: QueryResult
        A utility method for quickly retrieving the first batch update count array from the response.
        Specified by:
        firstBatchUpdateCount in interface QueryResult<T>
      • firstUpdateCount

        public int firstUpdateCount()
        Description copied from interface: QueryResult
        A utility method for quick retrieval of the first update count from the response.
        Specified by:
        firstUpdateCount in interface QueryResult<T>