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 ZMpopArgscount(int count)The optionalCOUNTcan be used to specify the number of elements to pop, and is set to 1 by default.ZMpopArgsmax()TheMAXmodifier causes elements with the highest scores to be popped.ZMpopArgsmin()When theMINmodifier is used, the elements popped are those with the lowest scores from the first non-empty sorted set.List<Object>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 theMINmodifier 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()
TheMAXmodifier causes elements with the highest scores to be popped.- Returns:
- the current
ZmpopArgs
-
count
public ZMpopArgs count(int 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
public List<Object> toArgs()
- Specified by:
toArgsin interfaceRedisCommandExtraArguments- Returns:
- the list of arguments.
-
-