Package io.lettuce.core.output
Class ValueStreamingOutput<K,V>
- java.lang.Object
-
- io.lettuce.core.output.CommandOutput<K,V,Long>
-
- io.lettuce.core.output.ValueStreamingOutput<K,V>
-
- Type Parameters:
K
- Key type.V
- Value type.
public class ValueStreamingOutput<K,V> extends CommandOutput<K,V,Long>
Streaming-Output of Values. Returns the count of all values (including null).- Author:
- Mark Paluch
-
-
Field Summary
-
Fields inherited from class io.lettuce.core.output.CommandOutput
codec, error, output
-
-
Constructor Summary
Constructors Constructor Description ValueStreamingOutput(RedisCodec<K,V> codec, ValueStreamingChannel<V> channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
set(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 Detail
-
ValueStreamingOutput
public ValueStreamingOutput(RedisCodec<K,V> codec, ValueStreamingChannel<V> channel)
-
-
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.- Overrides:
set
in classCommandOutput<K,V,Long>
- Parameters:
bytes
- The command output, or null.
-
-