public static class ReactiveZSetCommands.ZRandMemberCommand extends ReactiveRedisConnection.KeyCommand
ZRANDMEMBER command parameters.| Modifier and Type | Method and Description |
|---|---|
ReactiveZSetCommands.ZRandMemberCommand |
from(ByteBuffer key)
Applies the key.
|
long |
getCount() |
static ReactiveZSetCommands.ZRandMemberCommand |
singleValue()
Creates a new
ReactiveZSetCommands.ZRandMemberCommand to retrieve one random member. |
static ReactiveZSetCommands.ZRandMemberCommand |
valueCount(long nrValuesToRetrieve)
Creates a new
ReactiveZSetCommands.ZRandMemberCommand given the number of values to retrieve. |
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveZSetCommands.ZRandMemberCommand valueCount(long nrValuesToRetrieve)
ReactiveZSetCommands.ZRandMemberCommand given the number of values to retrieve.nrValuesToRetrieve - ReactiveZSetCommands.ZRandMemberCommand for a number of values to retrieve.public static ReactiveZSetCommands.ZRandMemberCommand singleValue()
ReactiveZSetCommands.ZRandMemberCommand to retrieve one random member.ReactiveZSetCommands.ZRandMemberCommand to retrieve one random member.public ReactiveZSetCommands.ZRandMemberCommand from(ByteBuffer key)
key - must not be null.ReactiveZSetCommands.ZRandMemberCommand with key applied.public long getCount()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.