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 Details

    • readSorted

      reactor.core.publisher.Mono<V> readSorted(SortOrder order)
      Read data in sorted view
      Parameters:
      order - for sorted data
      Returns:
      sorted collection
    • readSorted

      reactor.core.publisher.Mono<V> readSorted(SortOrder order, int offset, int count)
      Read data in sorted view
      Parameters:
      order - for sorted data
      offset - of sorted data
      count - of sorted data
      Returns:
      sorted collection
    • readSorted

      reactor.core.publisher.Mono<V> readSorted(String byPattern, SortOrder order)
      Read data in sorted view
      Parameters:
      byPattern - that is used to generate the keys that are used for sorting
      order - for sorted data
      Returns:
      sorted collection
    • readSorted

      reactor.core.publisher.Mono<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 sorting
      order - for sorted data
      offset - of sorted data
      count - 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 sorting
      getPatterns - that is used to load values by keys in sorted view
      order - 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 sorting
      getPatterns - that is used to load values by keys in sorted view
      order - for sorted data
      offset - of sorted data
      count - of sorted data
      Returns:
      sorted collection
    • sortTo

      reactor.core.publisher.Mono<Integer> sortTo(String destName, SortOrder order)
      Sort data and store to destName list
      Parameters:
      destName - list object destination
      order - 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 to destName list
      Parameters:
      destName - list object destination
      order - for sorted data
      offset - of sorted data
      count - of sorted data
      Returns:
      length of sorted data
    • sortTo

      reactor.core.publisher.Mono<Integer> sortTo(String destName, String byPattern, SortOrder order)
      Sort data and store to destName list
      Parameters:
      destName - list object destination
      byPattern - that is used to generate the keys that are used for sorting
      order - 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 to destName list
      Parameters:
      destName - list object destination
      byPattern - that is used to generate the keys that are used for sorting
      order - for sorted data
      offset - of sorted data
      count - 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 to destName list
      Parameters:
      destName - list object destination
      byPattern - that is used to generate the keys that are used for sorting
      getPatterns - that is used to load values by keys in sorted view
      order - 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 to destName list
      Parameters:
      destName - list object destination
      byPattern - that is used to generate the keys that are used for sorting
      getPatterns - that is used to load values by keys in sorted view
      order - for sorted data
      offset - of sorted data
      count - of sorted data
      Returns:
      length of sorted data