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.SAddCommandgiven a value.values(Collection<ByteBuffer> values) Creates a newReactiveSetCommands.SAddCommandgiven aCollectionof values.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
value
Creates a newReactiveSetCommands.SAddCommandgiven a value.- Parameters:
value- must not be null.- Returns:
- a new
ReactiveSetCommands.SAddCommandfor a value.
-
values
Creates a newReactiveSetCommands.SAddCommandgiven aCollectionof values.- Parameters:
values- must not be null.- Returns:
- a new
ReactiveSetCommands.SAddCommandfor aCollectionof 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.SAddCommandwith key applied.
-
getValues
- Returns:
-