public class GeoCoordinatesValueListOutput<K,V> extends CommandOutput<K,V,List<Value<GeoCoordinates>>> implements StreamingOutput<Value<GeoCoordinates>>
GeoCoordinates Values.StreamingOutput.Subscriber<T>codec, error, output| Constructor and Description |
|---|
GeoCoordinatesValueListOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
StreamingOutput.Subscriber<Value<GeoCoordinates>> |
getSubscriber()
Retrieves the
StreamingOutput.Subscriber. |
void |
multi(int count)
Mark the beginning of a multi sequence (array).
|
void |
set(ByteBuffer bytes)
Set the command output to a sequence of bytes, or null.
|
void |
setSubscriber(StreamingOutput.Subscriber<Value<GeoCoordinates>> subscriber)
Sets the
StreamingOutput.Subscriber. |
public GeoCoordinatesValueListOutput(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<Value<GeoCoordinates>>>bytes - The command output, or null.public void multi(int count)
CommandOutputmulti in class CommandOutput<K,V,List<Value<GeoCoordinates>>>count - expected number of elements in this multi sequence.public void setSubscriber(StreamingOutput.Subscriber<Value<GeoCoordinates>> subscriber)
StreamingOutputStreamingOutput.Subscriber.setSubscriber in interface StreamingOutput<Value<GeoCoordinates>>public StreamingOutput.Subscriber<Value<GeoCoordinates>> getSubscriber()
StreamingOutputStreamingOutput.Subscriber.getSubscriber in interface StreamingOutput<Value<GeoCoordinates>>Copyright © 2019 lettuce.io. All rights reserved.