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)
Update the command output with a sequence of bytes, or
null. |
void |
set(double number)
Update the command output with a floating-point number.
|
void |
setSubscriber(StreamingOutput.Subscriber<GeoCoordinates> subscriber)
Sets the
StreamingOutput.Subscriber. |
complete, decodeAscii, get, getError, hasError, multiArray, multiMap, multiPush, multiSet, set, set, setBigNumber, setError, setError, setSingle, toStringpublic GeoCoordinatesListOutput(RedisCodec<K,V> codec)
public void set(ByteBuffer bytes)
CommandOutputnull. Concrete CommandOutput implementations must
override this method to decode bulk/bytes response values.set in class CommandOutput<K,V,List<GeoCoordinates>>bytes - The command output, or null.public void set(double number)
CommandOutputCommandOutput implementations must override this
method to decode double response values.set in class CommandOutput<K,V,List<GeoCoordinates>>number - The command output.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 © 2023 lettuce.io. All rights reserved.