K - Key type.V - Value type.public class KeyValueListScoredValueOutput<K,V> extends CommandOutput<K,V,KeyValue<K,List<ScoredValue<V>>>>
codec, error, output| Constructor and Description |
|---|
KeyValueListScoredValueOutput(RedisCodec<K,V> codec,
K defaultKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete(int depth)
Mark the command output complete.
|
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.
|
decodeString, get, getError, hasError, multi, multiArray, multiMap, multiPush, multiSet, set, set, setBigNumber, setError, setError, setSingle, toStringpublic KeyValueListScoredValueOutput(RedisCodec<K,V> codec, K defaultKey)
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,KeyValue<K,List<ScoredValue<V>>>>bytes - The command output, or null.public void set(double number)
CommandOutputCommandOutput implementations must override this
method to decode double response values.set in class CommandOutput<K,V,KeyValue<K,List<ScoredValue<V>>>>number - The command output.public void complete(int depth)
CommandOutputcomplete in class CommandOutput<K,V,KeyValue<K,List<ScoredValue<V>>>>depth - Remaining depth of output queue.Copyright © 2025 lettuce.io. All rights reserved.