public static class ReactiveNumberCommands.HIncrByCommand<T extends Number> extends ReactiveRedisConnection.KeyCommand
HINCRBY
command parameters.Modifier and Type | Method and Description |
---|---|
ReactiveNumberCommands.HIncrByCommand<T> |
by(T value)
Applies the numeric value.
|
ReactiveNumberCommands.HIncrByCommand<T> |
forKey(ByteBuffer key)
Applies the key.
|
ByteBuffer |
getField() |
T |
getValue() |
static <T extends Number> |
incr(ByteBuffer field)
Creates a new
ReactiveNumberCommands.HIncrByCommand given a key . |
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static <T extends Number> ReactiveNumberCommands.HIncrByCommand<T> incr(ByteBuffer field)
ReactiveNumberCommands.HIncrByCommand
given a key
.field
- must not be null.ReactiveNumberCommands.HIncrByCommand
for key
.public ReactiveNumberCommands.HIncrByCommand<T> by(T value)
value
- must not be null.ReactiveNumberCommands.HIncrByCommand
with value applied.public ReactiveNumberCommands.HIncrByCommand<T> forKey(ByteBuffer key)
key
- must not be null.ReactiveNumberCommands.HIncrByCommand
with key applied.public ByteBuffer getField()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.