public class GeoWithinListOutput<K,V> extends CommandOutput<K,V,List<GeoWithin<V>>> implements StreamingOutput<GeoWithin<V>>
GeoCoordinates's.StreamingOutput.Subscriber<T>codec, error, output| Constructor and Description |
|---|
GeoWithinListOutput(RedisCodec<K,V> codec,
boolean withDistance,
boolean withHash,
boolean withCoordinates) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete(int depth)
Mark the command output complete.
|
StreamingOutput.Subscriber<GeoWithin<V>> |
getSubscriber()
Retrieves the
StreamingOutput.Subscriber. |
void |
set(ByteBuffer bytes)
Set the command output to a sequence of bytes, or null.
|
void |
set(long integer)
Set the command output to a 64-bit signed integer.
|
void |
setSubscriber(StreamingOutput.Subscriber<GeoWithin<V>> subscriber)
Sets the
StreamingOutput.Subscriber. |
decodeAscii, get, getError, hasError, multi, setError, setError, setSingle, toStringpublic GeoWithinListOutput(RedisCodec<K,V> codec, boolean withDistance, boolean withHash, boolean withCoordinates)
public void set(long integer)
CommandOutputCommandOutput implementations must override this
method unless they only receive a byte array value.public void set(ByteBuffer bytes)
CommandOutputCommandOutput implementations must override this
method unless they only receive an integer value which cannot be null.public void complete(int depth)
CommandOutputpublic void setSubscriber(StreamingOutput.Subscriber<GeoWithin<V>> subscriber)
StreamingOutputStreamingOutput.Subscriber.setSubscriber in interface StreamingOutput<GeoWithin<V>>public StreamingOutput.Subscriber<GeoWithin<V>> getSubscriber()
StreamingOutputStreamingOutput.Subscriber.getSubscriber in interface StreamingOutput<GeoWithin<V>>Copyright © 2021 lettuce.io. All rights reserved.