Class ZMpopArgs
java.lang.Object
io.quarkus.redis.datasource.sortedset.ZMpopArgs
- All Implemented Interfaces:
RedisCommandExtraArguments
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncount(int count) The optionalCOUNTcan be used to specify the number of elements to pop, and is set to 1 by default.max()TheMAXmodifier causes elements with the highest scores to be popped.min()When theMINmodifier is used, the elements popped are those with the lowest scores from the first non-empty sorted set.toArgs()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.redis.datasource.RedisCommandExtraArguments
toArgs
-
Constructor Details
-
ZMpopArgs
public ZMpopArgs()
-
-
Method Details
-
min
When theMINmodifier is used, the elements popped are those with the lowest scores from the first non-empty sorted set.- Returns:
- the current
ZmpopArgs
-
max
TheMAXmodifier causes elements with the highest scores to be popped.- Returns:
- the current
ZmpopArgs
-
count
The optionalCOUNTcan be used to specify the number of elements to pop, and is set to 1 by default.- Parameters:
count- the count value- Returns:
- the current
ZmpopArgs
-
toArgs
- Specified by:
toArgsin interfaceRedisCommandExtraArguments- Returns:
- the list of arguments.
-