Class ReactiveGeoCommands.GeoAddCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveGeoCommands.GeoAddCommand
- All Implemented Interfaces:
- ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveGeoCommands
GEOADD command parameters.- Author:
- Christoph Strobl
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionlocation(RedisGeoCommands.GeoLocation<ByteBuffer> geoLocation) Creates a newReactiveGeoCommands.GeoAddCommandgivenRedisGeoCommands.GeoLocation.locations(Collection<RedisGeoCommands.GeoLocation<ByteBuffer>> geoLocations) Creates a newReactiveGeoCommands.GeoAddCommandgiven an index.to(ByteBuffer key) Applies the Geo set key.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommandgetKeyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.CommandgetName
- 
Method Details- 
locationpublic static ReactiveGeoCommands.GeoAddCommand location(RedisGeoCommands.GeoLocation<ByteBuffer> geoLocation) Creates a newReactiveGeoCommands.GeoAddCommandgivenRedisGeoCommands.GeoLocation.- Parameters:
- geoLocation- must not be null.
- Returns:
- a new ReactiveGeoCommands.GeoAddCommandforRedisGeoCommands.GeoLocation.
 
- 
locationspublic static ReactiveGeoCommands.GeoAddCommand locations(Collection<RedisGeoCommands.GeoLocation<ByteBuffer>> geoLocations) Creates a newReactiveGeoCommands.GeoAddCommandgiven an index.- Parameters:
- geoLocations- must not be null.
- Returns:
- a new ReactiveGeoCommands.GeoAddCommandfor index.
 
- 
toApplies the Geo set key. Constructs a new command instance with all previously configured properties.- Parameters:
- key- must not be null.
- Returns:
- a new ReactiveGeoCommands.GeoAddCommandwith key applied.
 
- 
getGeoLocations- Returns:
 
 
-