public class GeoCoordinatesValueListOutput<K,V> extends CommandOutput<K,V,List<Value<GeoCoordinates>>> implements StreamingOutput<Value<GeoCoordinates>>
GeoCoordinates
Value
s.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)
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<Value<GeoCoordinates>> subscriber)
Sets the
StreamingOutput.Subscriber . |
complete, decodeAscii, get, getError, hasError, multiArray, multiMap, multiPush, multiSet, set, set, setBigNumber, setError, setError, setSingle, toString
public GeoCoordinatesValueListOutput(RedisCodec<K,V> codec)
public void set(ByteBuffer bytes)
CommandOutput
null
. Concrete CommandOutput
implementations must
override this method to decode bulk
/bytes response values.set
in class CommandOutput<K,V,List<Value<GeoCoordinates>>>
bytes
- The command output, or null.public void set(double number)
CommandOutput
CommandOutput
implementations must override this
method to decode double
response values.set
in class CommandOutput<K,V,List<Value<GeoCoordinates>>>
number
- The command output.public void multi(int count)
CommandOutput
multi
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)
StreamingOutput
StreamingOutput.Subscriber
.setSubscriber
in interface StreamingOutput<Value<GeoCoordinates>>
public StreamingOutput.Subscriber<Value<GeoCoordinates>> getSubscriber()
StreamingOutput
StreamingOutput.Subscriber
.getSubscriber
in interface StreamingOutput<Value<GeoCoordinates>>
Copyright © 2023 lettuce.io. All rights reserved.