K - Key type.V - Value type.public class NumberListOutput<K,V> extends CommandOutput<K,V,List<Number>>
List of Number output.codec, error, output| Constructor and Description |
|---|
NumberListOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
void |
multi(int count)
Mark the beginning of a multi sequence (array).
|
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.
|
void |
setBigNumber(ByteBuffer bytes)
Update the command output with a big number.
|
complete, decodeAscii, get, getError, hasError, multiArray, multiMap, multiPush, multiSet, set, setError, setError, setSingle, toStringpublic NumberListOutput(RedisCodec<K,V> codec)
public void set(ByteBuffer bytes)
CommandOutputnull. Concrete CommandOutput implementations must
override this method to decode bulk/bytes response values.public void set(double number)
CommandOutputCommandOutput implementations must override this
method to decode double response values.public void set(long integer)
CommandOutputCommandOutput implementations must override this
method to decode number (integer) response values.public void setBigNumber(ByteBuffer bytes)
CommandOutputCommandOutput implementations must override this method to
decode big number response values.setBigNumber in class CommandOutput<K,V,List<Number>>bytes - The command output, or null.public void multi(int count)
CommandOutputCopyright © 2025 lettuce.io. All rights reserved.