Interface RSortableAsync<V>

Type Parameters:
V - object type
All Known Subinterfaces:
RGeo<V>, RGeoAsync<V>, RList<V>, RListAsync<V>, RScoredSortedSet<V>, RScoredSortedSetAsync<V>, RSet<V>, RSetAsync<V>, RSortable<V>
All Known Implementing Classes:
RedissonBlockingDeque, RedissonBlockingQueue, RedissonBoundedBlockingQueue, RedissonDeque, RedissonGeo, RedissonLexSortedSet, RedissonList, RedissonListMultimapValues, RedissonPriorityBlockingDeque, RedissonPriorityBlockingQueue, RedissonPriorityDeque, RedissonPriorityQueue, RedissonQueue, RedissonRingBuffer, RedissonScoredSortedSet, RedissonSet, RedissonSetMultimapValues, RedissonSubList, RedissonTransactionalSet

public interface RSortableAsync<V>
Author:
Nikita Koksharov
  • Method Details

    • readSortAsync

      RFuture<V> readSortAsync(SortOrder order)
      Read data in sorted view
      Parameters:
      order - for sorted data
      Returns:
      sorted collection
    • readSortAsync

      RFuture<V> readSortAsync(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
    • readSortAsync

      RFuture<V> readSortAsync(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
    • readSortAsync

      RFuture<V> readSortAsync(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
    • readSortAsync

      <T> RFuture<Collection<T>> readSortAsync(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
    • readSortAsync

      <T> RFuture<Collection<T>> readSortAsync(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
    • readSortAlphaAsync

      RFuture<V> readSortAlphaAsync(SortOrder order)
      Read data in sorted view lexicographically
      Parameters:
      order - for sorted data
      Returns:
      sorted collection lexicographically
    • readSortAlphaAsync

      RFuture<V> readSortAlphaAsync(SortOrder order, int offset, int count)
      Read data in sorted view lexicographically
      Parameters:
      order - for sorted data
      offset - of sorted data
      count - of sorted data
      Returns:
      sorted collection lexicographically
    • readSortAlphaAsync

      RFuture<V> readSortAlphaAsync(String byPattern, SortOrder order)
      Read data in sorted view lexicographically
      Parameters:
      byPattern - that is used to generate the keys that are used for sorting
      order - for sorted data
      Returns:
      sorted collection lexicographically
    • readSortAlphaAsync

      RFuture<V> readSortAlphaAsync(String byPattern, SortOrder order, int offset, int count)
      Read data in sorted view lexicographically
      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 lexicographically
    • readSortAlphaAsync

      <T> RFuture<Collection<T>> readSortAlphaAsync(String byPattern, List<String> getPatterns, SortOrder order)
      Read data in sorted view lexicographically
      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 lexicographically
    • readSortAlphaAsync

      <T> RFuture<Collection<T>> readSortAlphaAsync(String byPattern, List<String> getPatterns, SortOrder order, int offset, int count)
      Read data in sorted view lexicographically
      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 lexicographically
    • sortToAsync

      RFuture<Integer> sortToAsync(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
    • sortToAsync

      RFuture<Integer> sortToAsync(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
    • sortToAsync

      RFuture<Integer> sortToAsync(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
    • sortToAsync

      RFuture<Integer> sortToAsync(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
    • sortToAsync

      RFuture<Integer> sortToAsync(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
    • sortToAsync

      RFuture<Integer> sortToAsync(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