public class EncodedComplexOutput<K,V,T> extends ComplexOutput<K,V,T>
datacodec, error, output| Constructor and Description |
|---|
EncodedComplexOutput(RedisCodec<K,V> codec,
ComplexDataParser<T> parser)
Constructs a new instance of the
ComplexOutput |
| Modifier and Type | Method and Description |
|---|---|
void |
set(ByteBuffer bytes)
Update the command output with a sequence of bytes, or
null. |
void |
setSingle(ByteBuffer bytes)
Update the command output with a sequence of bytes, or
null representing a simple string. |
complete, get, multiArray, multiMap, multiSet, set, set, setdecodeString, getError, hasError, multi, multiPush, setBigNumber, setError, setError, toStringpublic EncodedComplexOutput(RedisCodec<K,V> codec, ComplexDataParser<T> parser)
ComplexOutputcodec - the RedisCodec to be appliedparser - public void set(ByteBuffer bytes)
CommandOutputnull. Concrete CommandOutput implementations must
override this method to decode bulk/bytes response values.set in class ComplexOutput<K,V,T>bytes - The command output, or null.public void setSingle(ByteBuffer bytes)
CommandOutputnull representing a simple string. Concrete
CommandOutput implementations must override this method to decode single/bytes response values.setSingle in class ComplexOutput<K,V,T>bytes - The command output, or null.Copyright © 2025 lettuce.io. All rights reserved.