Class ZPOPMAX
java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.sortedset.internal.POP
org.infinispan.server.resp.commands.sortedset.ZPOPMAX
- All Implemented Interfaces:
Resp3Command
ZPOPMAX key [count]
Removes and returns up to count members with the highest scores in the sorted set stored at key.
When left unspecified, the default value for count is 1.
Specifying a count value that is higher than the sorted set's cardinality will not produce an error.
When returning multiple elements, the one with the highest score will be the first, followed
by the elements with lower scores.
- Since:
- 15.0
- See Also:
-
Field Summary
Fields inherited from class org.infinispan.server.resp.RespCommand
log -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.infinispan.server.resp.RespCommand
extractKeys, fromByteBuf, getArity, getFirstKeyPos, getLastKeyPos, getName, getSteps, handleException, hasValidNumberOfArguments, match, size, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.server.resp.commands.Resp3Command
handleException
-
Constructor Details
-
ZPOPMAX
public ZPOPMAX()
-