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.SMoveCommandgiven a value.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.SMoveCommandgiven a value.- Parameters:
value- must not be null.- Returns:
- a new
ReactiveSetCommands.SMoveCommandfor 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.SMoveCommandwith 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.SMoveCommandwith destination applied.
-
getDestination
- Returns:
- can be null.
-
getValue
- Returns:
- never null.
-