Package io.lettuce.core.output
Class ListOfGenericMapsOutput<K,V>
- java.lang.Object
-
- io.lettuce.core.output.CommandOutput<K,V,List<Map<K,Object>>>
-
- io.lettuce.core.output.ListOfGenericMapsOutput<K,V>
-
- Type Parameters:
K
- Key type.V
- Value type.
public class ListOfGenericMapsOutput<K,V> extends CommandOutput<K,V,List<Map<K,Object>>>
List
of maps output.- Since:
- 6.1
- Author:
- Mikhael Sokolov
- See Also:
GenericMapOutput
-
-
Field Summary
-
Fields inherited from class io.lettuce.core.output.CommandOutput
codec, error, output
-
-
Constructor Summary
Constructors Constructor Description ListOfGenericMapsOutput(RedisCodec<K,V> codec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
complete(int depth)
Mark the command output complete.void
multi(int count)
Mark the beginning of a multi sequence (array).void
set(double number)
Update the command output with a floating-point number.void
set(long integer)
Update the command output with a 64-bit signed integer.void
set(ByteBuffer bytes)
Update the command output with a sequence of bytes, ornull
.-
Methods inherited from class io.lettuce.core.output.CommandOutput
decodeAscii, get, getError, hasError, multiArray, multiMap, multiPush, multiSet, set, setBigNumber, setError, setError, setSingle, toString
-
-
-
-
Constructor Detail
-
ListOfGenericMapsOutput
public ListOfGenericMapsOutput(RedisCodec<K,V> codec)
-
-
Method Detail
-
set
public void set(ByteBuffer bytes)
Description copied from class:CommandOutput
Update the command output with a sequence of bytes, ornull
. ConcreteCommandOutput
implementations must override this method to decodebulk
/bytes response values.
-
complete
public void complete(int depth)
Description copied from class:CommandOutput
Mark the command output complete.
-
multi
public void multi(int count)
Description copied from class:CommandOutput
Mark the beginning of a multi sequence (array).
-
set
public void set(long integer)
Description copied from class:CommandOutput
Update the command output with a 64-bit signed integer. ConcreteCommandOutput
implementations must override this method to decodenumber
(integer) response values.
-
set
public void set(double number)
Description copied from class:CommandOutput
Update the command output with a floating-point number. ConcreteCommandOutput
implementations must override this method to decodedouble
response values.
-
-