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>

public interface KeysetAwarePage<T> extends KeysetAwareSlice<T>, Page<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.