Interface MapPaginator<K,V>

All Superinterfaces:
Function<com.google.common.collect.Range<Long>,io.reactivex.rxjava3.core.Flowable<Map.Entry<K,V>>>, ListPaginator<Map.Entry<K,V>>, RangedEntrySupplier<Long,K,V>, RangedSupplier<Long,Map.Entry<K,V>>, org.aksw.commons.util.delegate.Unwrappable
All Known Implementing Classes:
MapPaginatorTransformItem, MapServiceFromListService.MapPaginatorFromListService

public interface MapPaginator<K,V> extends RangedEntrySupplier<Long,K,V>, ListPaginator<Map.Entry<K,V>>
I think the ListService interface should be changed to: ListService.createPaginator(Concept) TODO: There is an overlap with the RangedSupplier
Author:
raven
  • Method Summary

    Modifier and Type
    Method
    Description
    default Map<K,V>
     
    default Map<K,V>
    fetchMap(com.google.common.collect.Range<Long> range)
     
    default io.reactivex.rxjava3.core.Single<Map<K,V>>
     
    default io.reactivex.rxjava3.core.Single<Map<K,V>>
    toMap(com.google.common.collect.Range<Long> range)
     

    Methods inherited from interface java.util.function.Function

    andThen, apply, compose

    Methods inherited from interface org.aksw.commons.rx.lookup.ListPaginator

    batch, fetchCount, fetchList, map

    Methods inherited from interface org.aksw.commons.util.delegate.Unwrappable

    unwrap
  • Method Details

    • fetchMap

      default Map<K,V> fetchMap()
    • toMap

      default io.reactivex.rxjava3.core.Single<Map<K,V>> toMap()
    • toMap

      default io.reactivex.rxjava3.core.Single<Map<K,V>> toMap(com.google.common.collect.Range<Long> range)
    • fetchMap

      default Map<K,V> fetchMap(com.google.common.collect.Range<Long> range)