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.
|
decodeAscii, get, getError, hasError, multi, multiArray, multiMap, multiPush, multiSet, set, set, setBigNumber, setError, setError, setSingle, toString
public KeyValueListScoredValueOutput(RedisCodec<K,V> codec, K defaultKey)
public void set(ByteBuffer bytes)
CommandOutput
null
. 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)
CommandOutput
CommandOutput
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)
CommandOutput
complete
in class CommandOutput<K,V,KeyValue<K,List<ScoredValue<V>>>>
depth
- Remaining depth of output queue.Copyright © 2023 lettuce.io. All rights reserved.