K
- Key type.V
- Value type.public class MapOutput<K,V> extends CommandOutput<K,V,Map<K,V>>
Map
of keys and values output.codec, error, output
Constructor and Description |
---|
MapOutput(RedisCodec<K,V> codec) |
Modifier and Type | Method and Description |
---|---|
void |
set(ByteBuffer bytes)
Set the command output to a sequence of bytes, or null.
|
void |
set(long integer)
Set the command output to a 64-bit signed integer.
|
complete, decodeAscii, get, getError, hasError, multi, setError, setError, toString
public MapOutput(RedisCodec<K,V> codec)
public void set(ByteBuffer bytes)
CommandOutput
CommandOutput
implementations must override this
method unless they only receive an integer value which cannot be null.public void set(long integer)
CommandOutput
CommandOutput
implementations must override this
method unless they only receive a byte array value.Copyright © 2016. All rights reserved.