K - Key type.V - Value type.public class ScoredValueListOutput<K,V> extends CommandOutput<K,V,List<ScoredValue<V>>> implements StreamingOutput<ScoredValue<V>>
List of values and their associated scores.StreamingOutput.Subscriber<T>codec, error, output| Constructor and Description |
|---|
ScoredValueListOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
StreamingOutput.Subscriber<ScoredValue<V>> |
getSubscriber()
Retrieves the
StreamingOutput.Subscriber. |
void |
multi(int count) |
void |
set(ByteBuffer bytes)
Set the command output to a sequence of bytes, or null.
|
void |
setSubscriber(StreamingOutput.Subscriber<ScoredValue<V>> subscriber)
Sets the
StreamingOutput.Subscriber. |
complete, decodeAscii, get, getError, hasError, set, setError, setError, toStringpublic ScoredValueListOutput(RedisCodec<K,V> codec)
public void set(ByteBuffer bytes)
CommandOutputCommandOutput implementations must override this
method unless they only receive an integer value which cannot be null.set in class CommandOutput<K,V,List<ScoredValue<V>>>bytes - The command output, or null.public void multi(int count)
multi in class CommandOutput<K,V,List<ScoredValue<V>>>public void setSubscriber(StreamingOutput.Subscriber<ScoredValue<V>> subscriber)
StreamingOutputStreamingOutput.Subscriber.setSubscriber in interface StreamingOutput<ScoredValue<V>>public StreamingOutput.Subscriber<ScoredValue<V>> getSubscriber()
StreamingOutputStreamingOutput.Subscriber.getSubscriber in interface StreamingOutput<ScoredValue<V>>Copyright © 2017 lettuce.io. All rights reserved.