Package org.aksw.commons.rx.lookup
Class ListPaginatorMapWrapper<K,V,T>
java.lang.Object
org.aksw.commons.rx.lookup.ListPaginatorMapWrapper<K,V,T>
- All Implemented Interfaces:
Function<com.google.common.collect.Range<Long>,,io.reactivex.rxjava3.core.Flowable<T>> ListPaginator<T>,RangedSupplier<Long,,T> Unwrappable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<T>static <K,V, T> ListPaginatorMapWrapper<K, V, T> create(MapPaginator<K, V> delegate, BiFunction<K, V, T> fn) io.reactivex.rxjava3.core.Single<com.google.common.collect.Range<Long>>fetchCount(Long itemLimit, Long rowLimit) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.rx.lookup.ListPaginator
batch, fetchList, mapMethods inherited from interface org.aksw.commons.util.delegate.Unwrappable
unwrap
-
Field Details
-
delegate
-
fn
-
-
Constructor Details
-
ListPaginatorMapWrapper
-
-
Method Details
-
apply
-
fetchCount
public io.reactivex.rxjava3.core.Single<com.google.common.collect.Range<Long>> fetchCount(Long itemLimit, Long rowLimit) - Specified by:
fetchCountin interfaceListPaginator<K>
-
create
public static <K,V, ListPaginatorMapWrapper<K,T> V, createT> (MapPaginator<K, V> delegate, BiFunction<K, V, T> fn)
-