Package io.lettuce.core.output
Class ScoredValueScanStreamingOutput<K,V>
- java.lang.Object
-
- io.lettuce.core.output.CommandOutput<K,V,T>
-
- io.lettuce.core.output.ScanOutput<K,V,StreamScanCursor>
-
- io.lettuce.core.output.ScoredValueScanStreamingOutput<K,V>
-
- Type Parameters:
K
- Key type.V
- Value type.
public class ScoredValueScanStreamingOutput<K,V> extends ScanOutput<K,V,StreamScanCursor>
Streaming-Output of of values and their associated scores. 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 ScoredValueScanStreamingOutput(RedisCodec<K,V> codec, ScoredValueStreamingChannel<V> channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
set(double number)
Update the command output with a floating-point number.protected void
setOutput(ByteBuffer bytes)
-
Methods inherited from class io.lettuce.core.output.ScanOutput
set
-
Methods inherited from class io.lettuce.core.output.CommandOutput
complete, decodeAscii, get, getError, hasError, multi, multiArray, multiMap, multiPush, multiSet, set, set, setBigNumber, setError, setError, setSingle, toString
-
-
-
-
Constructor Detail
-
ScoredValueScanStreamingOutput
public ScoredValueScanStreamingOutput(RedisCodec<K,V> codec, ScoredValueStreamingChannel<V> channel)
-
-
Method Detail
-
setOutput
protected void setOutput(ByteBuffer bytes)
- Specified by:
setOutput
in classScanOutput<K,V,StreamScanCursor>
-
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.- Overrides:
set
in classCommandOutput<K,V,StreamScanCursor>
- Parameters:
number
- The command output.
-
-