Class ReactiveStringCommands.SetRangeCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveStringCommands.SetRangeCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveStringCommands
public static class ReactiveStringCommands.SetRangeCommand
extends ReactiveRedisConnection.KeyCommand
SETRANGE
command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionatPosition
(long index) Applies the index.getValue()
overwrite
(ByteBuffer key) Creates a newReactiveStringCommands.SetRangeCommand
given a key.withValue
(ByteBuffer value) Applies the 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
-
overwrite
Creates a newReactiveStringCommands.SetRangeCommand
given a key.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveStringCommands.SetRangeCommand
for a key.
-
withValue
Applies the value. Constructs a new command instance with all previously configured properties.- Parameters:
value
- must not be null.- Returns:
- a new
ReactiveStringCommands.SetCommand
with value applied.
-
atPosition
Applies the index. Constructs a new command instance with all previously configured properties.- Parameters:
index
-- Returns:
- a new
ReactiveStringCommands.SetRangeCommand
with key applied.
-
getValue
- Returns:
- can be null.
-
getOffset
- Returns:
- can be null.
-