public static class ReactiveSetCommands.SAddCommand extends ReactiveRedisConnection.KeyCommand
SADD command parameters.| Modifier and Type | Method and Description |
|---|---|
List<ByteBuffer> |
getValues() |
ReactiveSetCommands.SAddCommand |
to(ByteBuffer key)
Applies the key.
|
static ReactiveSetCommands.SAddCommand |
value(ByteBuffer value)
Creates a new
ReactiveSetCommands.SAddCommand given a value. |
static ReactiveSetCommands.SAddCommand |
values(Collection<ByteBuffer> values)
Creates a new
ReactiveSetCommands.SAddCommand given a Collection of values. |
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveSetCommands.SAddCommand value(ByteBuffer value)
ReactiveSetCommands.SAddCommand given a value.value - must not be null.ReactiveSetCommands.SAddCommand for a value.public static ReactiveSetCommands.SAddCommand values(Collection<ByteBuffer> values)
ReactiveSetCommands.SAddCommand given a Collection of values.values - must not be null.ReactiveSetCommands.SAddCommand for a Collection of values.public ReactiveSetCommands.SAddCommand to(ByteBuffer key)
key - must not be null.ReactiveSetCommands.SAddCommand with key applied.public List<ByteBuffer> getValues()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.