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.SetRangeCommandgiven a key.withValue(ByteBuffer value) Applies the 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
-
overwrite
Creates a newReactiveStringCommands.SetRangeCommandgiven a key.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveStringCommands.SetRangeCommandfor 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.SetCommandwith value applied.
-
atPosition
Applies the index. Constructs a new command instance with all previously configured properties.- Parameters:
index-- Returns:
- a new
ReactiveStringCommands.SetRangeCommandwith key applied.
-
getValue
- Returns:
- can be null.
-
getOffset
- Returns:
- can be null.
-