public class PaginationStreamer<E,C extends SearchCriteria<C>>
extends java.lang.Object
A streamer will help users to walk through searches without knowing the underlying pagination implementation.
| Constructor and Description |
|---|
PaginationStreamer(Searcher<E,C> searcher)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<E> |
search(C criteria)
Main method of the helper, it streams the results in observable only loading the pages when
necessary.
|