Class ReactiveGeoCommands.GeoSearchStoreCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveGeoCommands.GeoSearchStoreCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveGeoCommands
public static class ReactiveGeoCommands.GeoSearchStoreCommand
extends ReactiveRedisConnection.KeyCommand
GEOSEARCHSTORE command parameters.- Since:
- 2.6
- Author:
- Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionat(GeoReference<ByteBuffer> reference) Sets the geoset key.getArgs()getShape()in(ByteBuffer key) Sets the geoset key.storeAt(ByteBuffer destKey) Sets the geoset destKey.Sets the command args.Creates a newReactiveGeoCommands.GeoSearchStoreCommandgiven aGeoShape.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
within
Creates a newReactiveGeoCommands.GeoSearchStoreCommandgiven aGeoShape.- Parameters:
shape- must not be null.- Returns:
- a new
ReactiveGeoCommands.GeoSearchStoreCommandfor aGeoShape.
-
at
Sets the geoset key. Constructs a new command instance with all previously configured properties.- Parameters:
reference- must not be null.- Returns:
- a new
ReactiveGeoCommands.GeoSearchStoreCommandwith key applied.
-
in
Sets the geoset key. Constructs a new command instance with all previously configured properties.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveGeoCommands.GeoSearchStoreCommandwith key applied.
-
storeAt
Sets the geoset destKey. Constructs a new command instance with all previously configured properties.- Parameters:
destKey- must not be null.- Returns:
- a new
ReactiveGeoCommands.GeoSearchStoreCommandwith destKey applied.
-
with
public ReactiveGeoCommands.GeoSearchStoreCommand with(RedisGeoCommands.GeoSearchStoreCommandArgs args) Sets the command args. Constructs a new command instance with all previously configured properties.- Parameters:
args- must not be null.- Returns:
- a new
ReactiveGeoCommands.GeoSearchStoreCommandwith args applied.
-
getDestKey
-
getArgs
-
getReference
-
getShape
-