Package org.redisson.api
Interface RSortableReactive<V>
- Type Parameters:
V
- object type
- All Known Subinterfaces:
RGeoReactive<V>
,RLexSortedSetReactive
,RListReactive<V>
,RScoredSortedSetReactive<V>
,RSetReactive<V>
public interface RSortableReactive<V>
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescription<T> reactor.core.publisher.Mono<Collection<T>>
readSorted
(String byPattern, List<String> getPatterns, SortOrder order) Read data in sorted view<T> reactor.core.publisher.Mono<Collection<T>>
readSorted
(String byPattern, List<String> getPatterns, SortOrder order, int offset, int count) Read data in sorted viewreactor.core.publisher.Mono<V>
readSorted
(String byPattern, SortOrder order) Read data in sorted viewreactor.core.publisher.Mono<V>
readSorted
(String byPattern, SortOrder order, int offset, int count) Read data in sorted viewreactor.core.publisher.Mono<V>
readSorted
(SortOrder order) Read data in sorted viewreactor.core.publisher.Mono<V>
readSorted
(SortOrder order, int offset, int count) Read data in sorted viewreactor.core.publisher.Mono<Integer>
Sort data and store todestName
listreactor.core.publisher.Mono<Integer>
sortTo
(String destName, String byPattern, List<String> getPatterns, SortOrder order, int offset, int count) Sort data and store todestName
listreactor.core.publisher.Mono<Integer>
Sort data and store todestName
listreactor.core.publisher.Mono<Integer>
Sort data and store todestName
listreactor.core.publisher.Mono<Integer>
Sort data and store todestName
listreactor.core.publisher.Mono<Integer>
Sort data and store todestName
list
-
Method Details
-
readSorted
Read data in sorted view- Parameters:
order
- for sorted data- Returns:
- sorted collection
-
readSorted
Read data in sorted view- Parameters:
order
- for sorted dataoffset
- of sorted datacount
- of sorted data- Returns:
- sorted collection
-
readSorted
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
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> reactor.core.publisher.Mono<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> reactor.core.publisher.Mono<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
Sort data and store todestName
list- Parameters:
destName
- list object destinationorder
- for sorted data- Returns:
- length of sorted data
-
sortTo
reactor.core.publisher.Mono<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
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
reactor.core.publisher.Mono<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
reactor.core.publisher.Mono<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
reactor.core.publisher.Mono<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
-