K - Key type.V - Value type.public class ScoredValueOutput<K,V> extends CommandOutput<K,V,ScoredValue<V>>
ScoredValue.codec, error, output| Constructor and Description |
|---|
ScoredValueOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
void |
set(ByteBuffer bytes)
Update the command output with a sequence of bytes, or
null. |
void |
set(double number)
Update the command output with a floating-point number.
|
void |
set(long integer)
Update the command output with a 64-bit signed integer.
|
complete, decodeString, get, getError, hasError, multi, multiArray, multiMap, multiPush, multiSet, set, setBigNumber, setError, setError, setSingle, toStringpublic ScoredValueOutput(RedisCodec<K,V> codec)
public void set(ByteBuffer bytes)
CommandOutputnull. Concrete CommandOutput implementations must
override this method to decode bulk/bytes response values.set in class CommandOutput<K,V,ScoredValue<V>>bytes - The command output, or null.public void set(long integer)
CommandOutputCommandOutput implementations must override this
method to decode number (integer) response values.set in class CommandOutput<K,V,ScoredValue<V>>integer - The command output.public void set(double number)
CommandOutputCommandOutput implementations must override this
method to decode double response values.set in class CommandOutput<K,V,ScoredValue<V>>number - The command output.Copyright © 2025 lettuce.io. All rights reserved.