Class MapServiceFromListService.MapPaginatorFromListService

java.lang.Object
org.aksw.commons.rx.lookup.MapServiceFromListService.MapPaginatorFromListService
All Implemented Interfaces:
Function<com.google.common.collect.Range<Long>,io.reactivex.rxjava3.core.Flowable<Map.Entry<K,V>>>, ListPaginator<Map.Entry<K,V>>, MapPaginator<K,V>, RangedEntrySupplier<Long,K,V>, RangedSupplier<Long,Map.Entry<K,V>>, Unwrappable
Enclosing class:
MapServiceFromListService<C,T,K,V>

public class MapServiceFromListService.MapPaginatorFromListService extends Object implements MapPaginator<K,V>
  • Field Details

  • Constructor Details

    • MapPaginatorFromListService

      public MapPaginatorFromListService(ListPaginator<T> listPaginator)
  • Method Details

    • apply

      public io.reactivex.rxjava3.core.Flowable<Map.Entry<K,V>> apply(com.google.common.collect.Range<Long> t)
      Specified by:
      apply in interface Function<com.google.common.collect.Range<Long>,io.reactivex.rxjava3.core.Flowable<Map.Entry<K,V>>>
    • fetchCount

      public io.reactivex.rxjava3.core.Single<com.google.common.collect.Range<Long>> fetchCount(Long itemLimit, Long rowLimit)
      Specified by:
      fetchCount in interface ListPaginator<Map.Entry<K,V>>