java.lang.Object
io.lettuce.core.output.CommandOutput<K,V,List<Value<GeoCoordinates>>>
io.lettuce.core.output.GeoCoordinatesValueListOutput<K,V>
- All Implemented Interfaces:
StreamingOutput<Value<GeoCoordinates>>
public class GeoCoordinatesValueListOutput<K,V> extends CommandOutput<K,V,List<Value<GeoCoordinates>>> implements StreamingOutput<Value<GeoCoordinates>>
A list output that creates a list with
GeoCoordinates Values.- Author:
- Mark Paluch
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.lettuce.core.output.StreamingOutput
StreamingOutput.Subscriber<T> -
Field Summary
Fields inherited from class io.lettuce.core.output.CommandOutput
codec, error, output -
Constructor Summary
Constructors Constructor Description GeoCoordinatesValueListOutput(RedisCodec<K,V> codec) -
Method Summary
Modifier and Type Method Description StreamingOutput.Subscriber<Value<GeoCoordinates>>getSubscriber()Retrieves theStreamingOutput.Subscriber.voidmulti(int count)Mark the beginning of a multi sequence (array).voidset(double number)Update the command output with a floating-point number.voidset(ByteBuffer bytes)Update the command output with a sequence of bytes, ornull.voidsetSubscriber(StreamingOutput.Subscriber<Value<GeoCoordinates>> subscriber)Sets theStreamingOutput.Subscriber.Methods inherited from class io.lettuce.core.output.CommandOutput
complete, decodeAscii, get, getError, hasError, multiArray, multiMap, multiPush, multiSet, set, set, setBigNumber, setError, setError, setSingle, toString
-
Constructor Details
-
GeoCoordinatesValueListOutput
-
-
Method Details
-
set
Description copied from class:CommandOutputUpdate the command output with a sequence of bytes, ornull. ConcreteCommandOutputimplementations must override this method to decodebulk/bytes response values.- Overrides:
setin classCommandOutput<K,V,List<Value<GeoCoordinates>>>- Parameters:
bytes- The command output, or null.
-
set
public void set(double number)Description copied from class:CommandOutputUpdate the command output with a floating-point number. ConcreteCommandOutputimplementations must override this method to decodedoubleresponse values.- Overrides:
setin classCommandOutput<K,V,List<Value<GeoCoordinates>>>- Parameters:
number- The command output.
-
multi
public void multi(int count)Description copied from class:CommandOutputMark the beginning of a multi sequence (array).- Overrides:
multiin classCommandOutput<K,V,List<Value<GeoCoordinates>>>- Parameters:
count- expected number of elements in this multi sequence.
-
setSubscriber
Description copied from interface:StreamingOutputSets theStreamingOutput.Subscriber.- Specified by:
setSubscriberin interfaceStreamingOutput<K>
-
getSubscriber
Description copied from interface:StreamingOutputRetrieves theStreamingOutput.Subscriber.- Specified by:
getSubscriberin interfaceStreamingOutput<K>- Returns:
-