public static class ReactiveGeoCommands.GeoAddCommand extends ReactiveRedisConnection.KeyCommand
GEOADD
command parameters.Modifier and Type | Method and Description |
---|---|
List<RedisGeoCommands.GeoLocation<ByteBuffer>> |
getGeoLocations() |
static ReactiveGeoCommands.GeoAddCommand |
location(RedisGeoCommands.GeoLocation<ByteBuffer> geoLocation)
Creates a new
ReactiveGeoCommands.GeoAddCommand given RedisGeoCommands.GeoLocation . |
static ReactiveGeoCommands.GeoAddCommand |
locations(Collection<RedisGeoCommands.GeoLocation<ByteBuffer>> geoLocations)
Creates a new
ReactiveGeoCommands.GeoAddCommand given an index. |
ReactiveGeoCommands.GeoAddCommand |
to(ByteBuffer key)
Applies the Geo set key.
|
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static ReactiveGeoCommands.GeoAddCommand location(RedisGeoCommands.GeoLocation<ByteBuffer> geoLocation)
ReactiveGeoCommands.GeoAddCommand
given RedisGeoCommands.GeoLocation
.geoLocation
- must not be null.ReactiveGeoCommands.GeoAddCommand
for RedisGeoCommands.GeoLocation
.public static ReactiveGeoCommands.GeoAddCommand locations(Collection<RedisGeoCommands.GeoLocation<ByteBuffer>> geoLocations)
ReactiveGeoCommands.GeoAddCommand
given an index.geoLocations
- must not be null.ReactiveGeoCommands.GeoAddCommand
for index.public ReactiveGeoCommands.GeoAddCommand to(ByteBuffer key)
key
- must not be null.ReactiveGeoCommands.GeoAddCommand
with key applied.public List<RedisGeoCommands.GeoLocation<ByteBuffer>> getGeoLocations()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.