Class ReactiveZSetCommands.ZIncrByCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveZSetCommands.ZIncrByCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
ReactiveZSetCommands
ZINCRBY command parameters.- Since:
- 2.0
- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionApplies the numeric increment.@Nullable NumbergetValue()scoreOf(ByteBuffer member) Creates a newReactiveZSetCommands.ZIncrByCommandgiven amember.storedWithin(ByteBuffer key) Applies the key.Methods inherited from class ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReactiveRedisConnection.Command
getName
-
Method Details
-
scoreOf
Creates a newReactiveZSetCommands.ZIncrByCommandgiven amember.- Parameters:
member- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZAddCommandforTuple.
-
by
Applies the numeric increment. Constructs a new command instance with all previously configured properties.- Parameters:
increment- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZIncrByCommandwith increment applied.
-
storedWithin
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZIncrByCommandwith key applied.
-
getValue
- Returns:
- never null.
-
getIncrement
- Returns:
- can be null.
-