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
Modifier and Type Method Description voidset(double number)Update the command output with a floating-point number.protected voidsetOutput(ByteBuffer bytes)Methods inherited from class io.lettuce.core.output.ScanOutput
setMethods 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 Details
-
ScoredValueScanStreamingOutput
public ScoredValueScanStreamingOutput(RedisCodec<K,V> codec, ScoredValueStreamingChannel<V> channel)
-
-
Method Details
-
setOutput
- Specified by:
setOutputin classScanOutput<K,V,StreamScanCursor>
-
set
public void set(double number)Description copied from class:CommandOutputUpdate the command output with a floating-point number. ConcreteCommandOutputimplementations must override this method to decodedoubleresponse values.- Overrides:
setin classCommandOutput<K,V,StreamScanCursor>- Parameters:
number- The command output.
-