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.GeoSearchStoreCommand
given aGeoShape
.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
within
Creates a newReactiveGeoCommands.GeoSearchStoreCommand
given aGeoShape
.- Parameters:
shape
- must not be null.- Returns:
- a new
ReactiveGeoCommands.GeoSearchStoreCommand
for 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.GeoSearchStoreCommand
with 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.GeoSearchStoreCommand
with 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.GeoSearchStoreCommand
with 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.GeoSearchStoreCommand
with args applied.
-
getDestKey
-
getArgs
-
getReference
-
getShape
-