Interface Page<T>

Type Parameters:
T - the type of the results
All Known Implementing Classes:
PageImpl

public interface Page<T>
Represents a page of results from a query
  • Method Details

    • start

      int start()
      Returns:
      the offset into the overall result set the page starts at (0 based)
    • limit

      int limit()
      Returns:
      the original limit on the PageRequest that generated this page
    • results

      Collection<T> results()
      Returns:
      results from the query
    • size

      int size()
      Returns:
      the number of results in this page
    • isLastPage

      boolean isLastPage()
      Returns:
      if this is the last page of results