Package jakarta.data.page
Interface KeysetAwarePage<T>
- Type Parameters:
T
- the type of elements in this page
- All Superinterfaces:
Iterable<T>
,KeysetAwareSlice<T>
,Page<T>
,Slice<T>
,Streamable<T>
A page of results from a repository query that performs
keyset pagination
.
The concept of Page
differs from Slice
in that slices
do not have awareness of a total number of pages or results. Page numbers
and total numbers of pages and results cannot be accurately known
with keyset pagination, which allows entities to be added and removed
in between traversal of slices or pages. When keyset pagination is used,
these values should not be relied upon.
-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface jakarta.data.page.KeysetAwareSlice
getKeysetCursor, nextPageable, previousPageable
Methods inherited from interface jakarta.data.page.Page
totalElements, totalPages
Methods inherited from interface jakarta.data.page.Slice
content, hasContent, numberOfElements, pageable
Methods inherited from interface jakarta.data.Streamable
stream