Class ZRangeArgs
java.lang.Object
io.quarkus.redis.datasource.sortedset.ZRangeArgs
- All Implemented Interfaces:
RedisCommandExtraArguments
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
limit
(long offset, int count) The LIMIT argument can be used to obtain a sub-range from the matching elements.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.toArgs()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.quarkus.redis.datasource.RedisCommandExtraArguments
toArgs
-
Constructor Details
-
ZRangeArgs
public ZRangeArgs()
-
-
Method Details
-
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
The LIMIT argument can be used to obtain a sub-range from the matching elements. A negative @{code count} returns all elements from theoffset
.- Parameters:
offset
- the offset valuecount
- the count value- Returns:
- the current
ZRangeArgs
-
toArgs
- Specified by:
toArgs
in interfaceRedisCommandExtraArguments
- Returns:
- the list of arguments.
-
isReverse
public boolean isReverse()
-