Interface ListPaginator<T>

All Superinterfaces:
Function<com.google.common.collect.Range<Long>, io.reactivex.rxjava3.core.Flowable<T>>, RangedSupplier<Long,T>, Unwrappable
All Known Subinterfaces:
MapPaginator<K,V>
All Known Implementing Classes:
ListPaginatorBatch, ListPaginatorFromList, ListPaginatorMapWrapper, ListPaginatorWithAdvancedCache, ListPaginatorWithSimpleCache, ListServiceFromList.ListPaginatorList, MapPaginatorTransformItem, MapServiceFromListService.MapPaginatorFromListService, PaginatorBatchedLookup

public interface ListPaginator<T> extends RangedSupplier<Long,T>
  • Method Details

    • fetchCount

      io.reactivex.rxjava3.core.Single<com.google.common.collect.Range<Long>> fetchCount(Long itemLimit, Long rowLimit)
    • fetchList

      default List<T> fetchList(com.google.common.collect.Range<Long> range)
    • batch

      default ListPaginator<List<T>> batch(long chunkSize)
    • map

      default <U> ListPaginator<U> map(Function<? super T, U> mapper)