|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@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.
PageRequest
,
PageResponse
,
PagingIterator
Method Summary | |
---|---|
PageResponse<T> |
page(PageRequest request)
Retrieves a page of data. |
PagingIterator<T> |
pagingIterator()
Obtain a PagingIterator, which will yield all possible results in a memory / CPU efficient manner. |
Method Detail |
---|
PageResponse<T> page(PageRequest request)
PagingIterator<T> pagingIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |