Package org.redisson.api
Interface RSortableRx<V>
-
- Type Parameters:
V
- object type
- All Known Subinterfaces:
RGeoRx<V>
,RLexSortedSetRx
,RListRx<V>
,RScoredSortedSetRx<V>
,RSetRx<V>
public interface RSortableRx<V>
- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> io.reactivex.rxjava3.core.Single<Collection<T>>
readSorted(String byPattern, List<String> getPatterns, SortOrder order)
Read data in sorted view<T> io.reactivex.rxjava3.core.Single<Collection<T>>
readSorted(String byPattern, List<String> getPatterns, SortOrder order, int offset, int count)
Read data in sorted viewio.reactivex.rxjava3.core.Single<V>
readSorted(String byPattern, SortOrder order)
Read data in sorted viewio.reactivex.rxjava3.core.Single<V>
readSorted(String byPattern, SortOrder order, int offset, int count)
Read data in sorted viewio.reactivex.rxjava3.core.Single<V>
readSorted(SortOrder order)
Read data in sorted viewio.reactivex.rxjava3.core.Single<V>
readSorted(SortOrder order, int offset, int count)
Read data in sorted viewio.reactivex.rxjava3.core.Single<Integer>
sortTo(String destName, String byPattern, List<String> getPatterns, SortOrder order)
Sort data and store todestName
listio.reactivex.rxjava3.core.Single<Integer>
sortTo(String destName, String byPattern, List<String> getPatterns, SortOrder order, int offset, int count)
Sort data and store todestName
listio.reactivex.rxjava3.core.Single<Integer>
sortTo(String destName, String byPattern, SortOrder order)
Sort data and store todestName
listio.reactivex.rxjava3.core.Single<Integer>
sortTo(String destName, String byPattern, SortOrder order, int offset, int count)
Sort data and store todestName
listio.reactivex.rxjava3.core.Single<Integer>
sortTo(String destName, SortOrder order)
Sort data and store todestName
listio.reactivex.rxjava3.core.Single<Integer>
sortTo(String destName, SortOrder order, int offset, int count)
Sort data and store todestName
list
-
-
-
Method Detail
-
readSorted
io.reactivex.rxjava3.core.Single<V> readSorted(SortOrder order)
Read data in sorted view- Parameters:
order
- for sorted data- Returns:
- sorted collection
-
readSorted
io.reactivex.rxjava3.core.Single<V> readSorted(SortOrder order, int offset, int count)
Read data in sorted view- Parameters:
order
- for sorted dataoffset
- of sorted datacount
- of sorted data- Returns:
- sorted collection
-
readSorted
io.reactivex.rxjava3.core.Single<V> readSorted(String byPattern, SortOrder order)
Read data in sorted view- Parameters:
byPattern
- that is used to generate the keys that are used for sortingorder
- for sorted data- Returns:
- sorted collection
-
readSorted
io.reactivex.rxjava3.core.Single<V> readSorted(String byPattern, SortOrder order, int offset, int count)
Read data in sorted view- Parameters:
byPattern
- that is used to generate the keys that are used for sortingorder
- for sorted dataoffset
- of sorted datacount
- of sorted data- Returns:
- sorted collection
-
readSorted
<T> io.reactivex.rxjava3.core.Single<Collection<T>> readSorted(String byPattern, List<String> getPatterns, SortOrder order)
Read data in sorted view- Type Parameters:
T
- object type- Parameters:
byPattern
- that is used to generate the keys that are used for sortinggetPatterns
- that is used to load values by keys in sorted vieworder
- for sorted data- Returns:
- sorted collection
-
readSorted
<T> io.reactivex.rxjava3.core.Single<Collection<T>> readSorted(String byPattern, List<String> getPatterns, SortOrder order, int offset, int count)
Read data in sorted view- Type Parameters:
T
- object type- Parameters:
byPattern
- that is used to generate the keys that are used for sortinggetPatterns
- that is used to load values by keys in sorted vieworder
- for sorted dataoffset
- of sorted datacount
- of sorted data- Returns:
- sorted collection
-
sortTo
io.reactivex.rxjava3.core.Single<Integer> sortTo(String destName, SortOrder order)
Sort data and store todestName
list- Parameters:
destName
- list object destinationorder
- for sorted data- Returns:
- length of sorted data
-
sortTo
io.reactivex.rxjava3.core.Single<Integer> sortTo(String destName, SortOrder order, int offset, int count)
Sort data and store todestName
list- Parameters:
destName
- list object destinationorder
- for sorted dataoffset
- of sorted datacount
- of sorted data- Returns:
- length of sorted data
-
sortTo
io.reactivex.rxjava3.core.Single<Integer> sortTo(String destName, String byPattern, SortOrder order)
Sort data and store todestName
list- Parameters:
destName
- list object destinationbyPattern
- that is used to generate the keys that are used for sortingorder
- for sorted data- Returns:
- length of sorted data
-
sortTo
io.reactivex.rxjava3.core.Single<Integer> sortTo(String destName, String byPattern, SortOrder order, int offset, int count)
Sort data and store todestName
list- Parameters:
destName
- list object destinationbyPattern
- that is used to generate the keys that are used for sortingorder
- for sorted dataoffset
- of sorted datacount
- of sorted data- Returns:
- length of sorted data
-
sortTo
io.reactivex.rxjava3.core.Single<Integer> sortTo(String destName, String byPattern, List<String> getPatterns, SortOrder order)
Sort data and store todestName
list- Parameters:
destName
- list object destinationbyPattern
- that is used to generate the keys that are used for sortinggetPatterns
- that is used to load values by keys in sorted vieworder
- for sorted data- Returns:
- length of sorted data
-
sortTo
io.reactivex.rxjava3.core.Single<Integer> sortTo(String destName, String byPattern, List<String> getPatterns, SortOrder order, int offset, int count)
Sort data and store todestName
list- Parameters:
destName
- list object destinationbyPattern
- that is used to generate the keys that are used for sortinggetPatterns
- that is used to load values by keys in sorted vieworder
- for sorted dataoffset
- of sorted datacount
- of sorted data- Returns:
- length of sorted data
-
-