Class ReactiveSetCommands.SAddCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveSetCommands.SAddCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveSetCommands
SADD
command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionto
(ByteBuffer key) Applies the key.value
(ByteBuffer value) Creates a newReactiveSetCommands.SAddCommand
given a value.values
(Collection<ByteBuffer> values) Creates a newReactiveSetCommands.SAddCommand
given aCollection
of values.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
value
Creates a newReactiveSetCommands.SAddCommand
given a value.- Parameters:
value
- must not be null.- Returns:
- a new
ReactiveSetCommands.SAddCommand
for a value.
-
values
Creates a newReactiveSetCommands.SAddCommand
given aCollection
of values.- Parameters:
values
- must not be null.- Returns:
- a new
ReactiveSetCommands.SAddCommand
for aCollection
of values.
-
to
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveSetCommands.SAddCommand
with key applied.
-
getValues
- Returns:
-