public static class ReactiveZSetCommands.ZPopCommand extends ReactiveRedisConnection.KeyCommand
ZPOPMIN
/ZPOPMAX command parameters.Modifier and Type | Method and Description |
---|---|
ReactiveZSetCommands.ZPopCommand |
count(long count)
Applies the key.
|
ReactiveZSetCommands.ZPopCommand |
from(ByteBuffer key)
Applies the key.
|
long |
getCount() |
ReactiveZSetCommands.PopDirection |
getDirection() |
static ReactiveZSetCommands.ZPopCommand |
max()
Creates a new
ReactiveZSetCommands.ZPopCommand for max pop (ZPOPMAX). |
static ReactiveZSetCommands.ZPopCommand |
min()
Creates a new
ReactiveZSetCommands.ZPopCommand for min pop (ZPOPMIN). |
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static ReactiveZSetCommands.ZPopCommand min()
ReactiveZSetCommands.ZPopCommand
for min pop (ZPOPMIN).ReactiveZSetCommands.ZPopCommand
for min pop (ZPOPMIN).public static ReactiveZSetCommands.ZPopCommand max()
ReactiveZSetCommands.ZPopCommand
for max pop (ZPOPMAX).ReactiveZSetCommands.ZPopCommand
for max pop (ZPOPMAX).public ReactiveZSetCommands.ZPopCommand from(ByteBuffer key)
key
- must not be null.ReactiveZSetCommands.ZPopCommand
with value applied.public ReactiveZSetCommands.ZPopCommand count(long count)
count
- ReactiveZSetCommands.ZPopCommand
with value applied.public ReactiveZSetCommands.PopDirection getDirection()
public long getCount()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.