Interface PaginationQueryResult<T>

  • Type Parameters:
    T - the type of the query result
    All Superinterfaces:
    java.util.Collection<T>, java.lang.Iterable<T>, java.util.List<T>

    public interface PaginationQueryResult<T>
    extends java.util.List<T>
    A query result that supports pagination.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getTotalCount()
      Get the total count of the query result.
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
    • Method Detail

      • getTotalCount

        int getTotalCount()
        Get the total count of the query result.
        Returns:
        the total count of the query result