java.lang.Object
io.lettuce.core.output.CommandOutput<K,V,KeyValue<K,V>>
io.lettuce.core.output.KeyValueOutput<K,V>
- Type Parameters:
K- Key type.V- Value type.
public class KeyValueOutput<K,V> extends CommandOutput<K,V,KeyValue<K,V>>
Key-value pair output.
- Author:
- Will Glozer, Mark Paluch
-
Field Summary
Fields inherited from class io.lettuce.core.output.CommandOutput
codec, error, output -
Constructor Summary
Constructors Constructor Description KeyValueOutput(RedisCodec<K,V> codec) -
Method Summary
Modifier and Type Method Description voidset(ByteBuffer bytes)Update the command output with a sequence of bytes, ornull.Methods inherited from class io.lettuce.core.output.CommandOutput
complete, decodeAscii, get, getError, hasError, multi, multiArray, multiMap, multiPush, multiSet, set, set, set, setBigNumber, setError, setError, setSingle, toString
-
Constructor Details
-
KeyValueOutput
-
-
Method Details
-
set
Description copied from class:CommandOutputUpdate the command output with a sequence of bytes, ornull. ConcreteCommandOutputimplementations must override this method to decodebulk/bytes response values.
-