Interface Paginated<T>
@ExperimentalApi
public interface Paginated<T>
Paginated is a containing type that allows consumers to handle paginated data in different ways, depending
on their use case. Data can be fetched in single pages, a common use-case that maps well to REST resources. Data
can also be obtained via special-purpose iterators.
- Since:
- 5.6
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionpage
(PageRequest request) Retrieves a page of data.Obtain a PagingIterator, which will yield all possible results in a memory / CPU efficient manner.
-
Method Details
-
page
Retrieves a page of data. -
pagingIterator
PagingIterator<T> pagingIterator()Obtain a PagingIterator, which will yield all possible results in a memory / CPU efficient manner.
-