K - Key type.V - Value type.public class EnumSetOutput<K,V,E extends Enum<E>> extends CommandOutput<K,V,Set<E>>
EnumSet output.codec, error, output| Constructor and Description |
|---|
EnumSetOutput(RedisCodec<K,V> codec,
Class<E> enumClass,
UnaryOperator<String> enumValuePreprocessor,
Function<String,E> onUnknownValue)
Create a new
EnumSetOutput. |
| 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. |
complete, decodeAscii, get, getError, hasError, multiArray, multiMap, multiPush, multiSet, set, set, set, setBigNumber, setError, setError, setSingle, toStringpublic EnumSetOutput(RedisCodec<K,V> codec, Class<E> enumClass, UnaryOperator<String> enumValuePreprocessor, Function<String,E> onUnknownValue)
EnumSetOutput.public void set(ByteBuffer bytes)
CommandOutputnull. Concrete CommandOutput implementations must
override this method to decode bulk/bytes response values.public void multi(int count)
CommandOutputCopyright © 2025 lettuce.io. All rights reserved.