Class ReactiveSetCommands.SMoveCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveSetCommands.SMoveCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveSetCommands
SMOVE
command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(ByteBuffer source) Applies the source key.getValue()
to
(ByteBuffer destination) Applies the destination key.value
(ByteBuffer value) Creates a newReactiveSetCommands.SMoveCommand
given a value.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.SMoveCommand
given a value.- Parameters:
value
- must not be null.- Returns:
- a new
ReactiveSetCommands.SMoveCommand
for a value.
-
from
Applies the source key. Constructs a new command instance with all previously configured properties.- Parameters:
source
- must not be null.- Returns:
- a new
ReactiveSetCommands.SMoveCommand
with source applied.
-
to
Applies the destination key. Constructs a new command instance with all previously configured properties.- Parameters:
destination
- must not be null.- Returns:
- a new
ReactiveSetCommands.SMoveCommand
with destination applied.
-
getDestination
- Returns:
- can be null.
-
getValue
- Returns:
- never null.
-