Uses of Interface
jakarta.data.page.Pageable
Packages that use Pageable
Package
Description
Splits query results into slices or pages.
In Domain-driven design, DDD, a repository is an object that participates in the domain but abstracts away storage
and infrastructure details.
-
Uses of Pageable in jakarta.data.page
Methods in jakarta.data.page that return PageableModifier and TypeMethodDescriptionPageable.afterKeyset(Object... keyset) Requestskeyset paginationin the forward direction, starting after the specified keyset values.Pageable.afterKeysetCursor(Pageable.Cursor keysetCursor) Requestskeyset paginationin the forward direction, starting after the specified keyset values.Pageable.beforeKeyset(Object... keyset) Requestskeyset paginationin the reverse direction, starting after the specified keyset values.Pageable.beforeKeysetCursor(Pageable.Cursor keysetCursor) Requestskeyset paginationin the reverse direction, starting after the specified keyset values.Pageable.next()Returns thePageablerequesting the next page if using offset pagination.KeysetAwareSlice.nextPageable()Returns pagination information for requesting the next page in a forward direction from the current page.Slice.nextPageable()Returns the nextnext(), ornullif it is known that there is no next page.static PageablePageable.ofPage(long pageNumber) Creates a newPageablewith the given page number and with a default size of 10.static PageablePageable.ofSize(int maxPageSize) Creates a newPageablefor requesting pages of the specified size, starting with the first page number, which is 1.Pageable.page(long pageNumber) Creates a newPageableinstance representing the same pagination information, except with the specified page number.Slice.pageable()Returns the currentPageableKeysetAwareSlice.previousPageable()Returns pagination information for requesting the previous page in a reverse direction from the current page.Pageable.size(int maxPageSize) Creates a newPageableinstance representing the same pagination information, except with the specified maximum page size.Creates a newPageableinstance representing the same pagination information, except using the specified sort criteria.Creates a newPageableinstance representing the same pagination information, except using the specified sort criteria. -
Uses of Pageable in jakarta.data.repository
Methods in jakarta.data.repository with parameters of type Pageable