Class ZMpopArgs
- java.lang.Object
-
- io.quarkus.redis.datasource.sortedset.ZMpopArgs
-
- All Implemented Interfaces:
RedisCommandExtraArguments
public class ZMpopArgs extends Object implements RedisCommandExtraArguments
-
-
Constructor Summary
Constructors Constructor Description ZMpopArgs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZMpopArgs
count(int count)
The optionalCOUNT
can be used to specify the number of elements to pop, and is set to 1 by default.ZMpopArgs
max()
TheMAX
modifier causes elements with the highest scores to be popped.ZMpopArgs
min()
When theMIN
modifier is used, the elements popped are those with the lowest scores from the first non-empty sorted set.List<String>
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
-
-
-
-
Method Detail
-
min
public ZMpopArgs min()
When theMIN
modifier is used, the elements popped are those with the lowest scores from the first non-empty sorted set.- Returns:
- the current
ZmpopArgs
-
max
public ZMpopArgs max()
TheMAX
modifier causes elements with the highest scores to be popped.- Returns:
- the current
ZmpopArgs
-
count
public ZMpopArgs count(int count)
The optionalCOUNT
can 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
public List<String> toArgs()
- Specified by:
toArgs
in interfaceRedisCommandExtraArguments
- Returns:
- the list of arguments, encoded as a list of String.
-
-