public class GeoCoordinatesListOutput<K,V> extends CommandOutput<K,V,List<GeoCoordinates>> implements StreamingOutput<GeoCoordinates>
GeoCoordinates's.StreamingOutput.Subscriber<T>codec, error, output| Constructor and Description |
|---|
GeoCoordinatesListOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
StreamingOutput.Subscriber<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<GeoCoordinates> subscriber)
Sets the
StreamingOutput.Subscriber. |
public GeoCoordinatesListOutput(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<GeoCoordinates>>bytes - The command output, or null.public void multi(int count)
CommandOutputmulti in class CommandOutput<K,V,List<GeoCoordinates>>count - expected number of elements in this multi sequence.public void setSubscriber(StreamingOutput.Subscriber<GeoCoordinates> subscriber)
StreamingOutputStreamingOutput.Subscriber.setSubscriber in interface StreamingOutput<GeoCoordinates>public StreamingOutput.Subscriber<GeoCoordinates> getSubscriber()
StreamingOutputStreamingOutput.Subscriber.getSubscriber in interface StreamingOutput<GeoCoordinates>Copyright © 2020 lettuce.io. All rights reserved.