Class ReactiveGeoCommands.GeoDistCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveGeoCommands.GeoDistCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveGeoCommands
GEODIST command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionand(ByteBuffer to) Applies the to member.between(ByteBuffer from) Applies the from member.feet()Creates a newReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.FEET.forKey(ByteBuffer key) Applies the Geo set key member.getFrom()getTo()Creates a newReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.KILOMETERS.meters()Creates a newReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.METERS.miles()Creates a newReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.MILES.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
-
meters
Creates a newReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.METERS.- Returns:
- a new
ReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.METERS.
-
kilometers
Creates a newReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.KILOMETERS.- Returns:
- a new
ReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.KILOMETERS.
-
miles
Creates a newReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.MILES.- Returns:
- a new
ReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.MILES.
-
feet
Creates a newReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.FEET.- Returns:
- a new
ReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.FEET.
-
between
Applies the from member. Constructs a new command instance with all previously configured properties.- Parameters:
from- must not be null.- Returns:
- a new
ReactiveGeoCommands.GeoDistCommandwith from applied.
-
and
Applies the to member. Constructs a new command instance with all previously configured properties.- Parameters:
to- must not be null.- Returns:
- a new
ReactiveGeoCommands.GeoDistCommandwith to applied.
-
forKey
Applies the Geo set key member. Constructs a new command instance with all previously configured properties.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveGeoCommands.GeoDistCommandwith key applied.
-
getFrom
- Returns:
- can be null.
-
getTo
- Returns:
- can be null.
-
getMetric
- Returns:
- never null.
-