Class ZRangeArgs

    • Constructor Detail

      • ZRangeArgs

        public ZRangeArgs()
    • Method Detail

      • 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
      • isReverse

        public boolean isReverse()