Class ReactiveNumberCommands.HIncrByCommand<T extends Number>
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveNumberCommands.HIncrByCommand<T>
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveNumberCommands
public static class ReactiveNumberCommands.HIncrByCommand<T extends Number>
extends ReactiveRedisConnection.KeyCommand
HINCRBY command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionApplies the numeric value.forKey(ByteBuffer key) Applies the key.getField()getValue()static <T extends Number>
ReactiveNumberCommands.HIncrByCommand<T>incr(ByteBuffer field) Creates a newReactiveNumberCommands.HIncrByCommandgiven akey.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
-
incr
Creates a newReactiveNumberCommands.HIncrByCommandgiven akey.- Parameters:
field- must not be null.- Returns:
- a new
ReactiveNumberCommands.HIncrByCommandforkey.
-
by
Applies the numeric value. Constructs a new command instance with all previously configured properties.- Parameters:
value- must not be null.- Returns:
- a new
ReactiveNumberCommands.HIncrByCommandwith value applied.
-
forKey
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveNumberCommands.HIncrByCommandwith key applied.
-
getValue
- Returns:
- can be null.
-
getField
- Returns:
- never null.
-