- All Superinterfaces:
Iterable<T>
, org.springframework.data.domain.Page<T>
, org.springframework.data.domain.Slice<T>
, org.springframework.data.util.Streamable<T>
, Supplier<Stream<T>>
- All Known Implementing Classes:
DefaultUntotalledPage
public interface UntotalledPage<T>
extends org.springframework.data.domain.Page<T>
Denotes a Page
in which total and page number information is not supported.
UntotalledPages should facilitate paging without knowing the total number of records, or what
page you're on. This can be more efficient than traditional paging, since a second query to get
the total record count on each page request is not required. The paging is open-ended and there's
no constant indication of how many pages there are. While a little less informative, this is
acceptable with most modern paging techniques.
- Author:
- Jeff Fischer