K - Key type.V - Value type.public class GenericMapOutput<K,V> extends CommandOutput<K,V,Map<K,Object>>
Map of keys and objects output.codec, error, output| Constructor and Description |
|---|
GenericMapOutput(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)
Set the command output to a sequence of bytes, or null.
|
void |
set(double number)
Set the command output to a floating-point number.
|
void |
set(long integer)
Set the command output to a 64-bit signed integer.
|
void |
setBigNumber(ByteBuffer bytes)
Set the command output to a big number.
|
complete, decodeAscii, get, getError, hasError, multiArray, multiMap, multiPush, multiSet, set, setError, setError, setSingle, toStringpublic GenericMapOutput(RedisCodec<K,V> codec)
public void set(ByteBuffer bytes)
CommandOutputCommandOutput implementations must override this
method unless they only receive an integer value which cannot be null.public void setBigNumber(ByteBuffer bytes)
CommandOutputCommandOutput implementations can override this method unless
they only receive an integer value which cannot be null.setBigNumber in class CommandOutput<K,V,Map<K,Object>>bytes - The command output, or null.public void set(long integer)
CommandOutputCommandOutput implementations must override this
method unless they only receive a byte array value.public void set(double number)
CommandOutputCommandOutput implementations must override this
method unless they only receive a byte array value.public void multi(int count)
CommandOutputCopyright © 2020 lettuce.io. All rights reserved.