K
- Key type.V
- Value type.public class KeyValueScoredValueOutput<K,V> extends CommandOutput<K,V,KeyValue<K,ScoredValue<V>>>
codec, error, output
Constructor and Description |
---|
KeyValueScoredValueOutput(RedisCodec<K,V> codec) |
Modifier and Type | Method and Description |
---|---|
void |
set(ByteBuffer bytes)
Set the command output to a sequence of bytes, or null.
|
void |
set(double number)
Set the command output to a floating-point number.
|
complete, decodeAscii, get, getError, hasError, multi, multiArray, multiMap, multiPush, multiSet, set, set, setBigNumber, setError, setError, setSingle, toString
public KeyValueScoredValueOutput(RedisCodec<K,V> codec)
public void set(ByteBuffer bytes)
CommandOutput
CommandOutput
implementations must override this
method unless they only receive an integer value which cannot be null.set
in class CommandOutput<K,V,KeyValue<K,ScoredValue<V>>>
bytes
- The command output, or null.public void set(double number)
CommandOutput
CommandOutput
implementations must override this
method unless they only receive a byte array value.set
in class CommandOutput<K,V,KeyValue<K,ScoredValue<V>>>
number
- The command output.Copyright © 2020 lettuce.io. All rights reserved.