Class ZRangeArgs

java.lang.Object
io.quarkus.redis.datasource.sortedset.ZRangeArgs
All Implemented Interfaces:
RedisCommandExtraArguments

public class ZRangeArgs extends Object implements RedisCommandExtraArguments
  • Constructor Details

    • ZRangeArgs

      public ZRangeArgs()
  • Method Details

    • rev

      public ZRangeArgs rev()
      The REV argument reverses the ordering, so elements are ordered from highest to lowest score, and score ties are resolved by reverse lexicographical ordering.
      Returns:
      the current ZRangeArgs
    • limit

      public ZRangeArgs limit(long offset, int count)
      The LIMIT argument can be used to obtain a sub-range from the matching elements. A negative @{code count} returns all elements from the offset.
      Parameters:
      offset - the offset value
      count - the count value
      Returns:
      the current ZRangeArgs
    • toArgs

      public List<Object> toArgs()
      Specified by:
      toArgs in interface RedisCommandExtraArguments
      Returns:
      the list of arguments.
    • isReverse

      public boolean isReverse()