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. |
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public 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-2016–2016 Pivotal Software, Inc.. All rights reserved.