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 SummaryModifier 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.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- 
metersCreates a newReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.METERS.- Returns:
- a new ReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.METERS.
 
- 
kilometersCreates a newReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.KILOMETERS.- Returns:
- a new ReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.KILOMETERS.
 
- 
milesCreates a newReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.MILES.- Returns:
- a new ReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.MILES.
 
- 
feetCreates a newReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.FEET.- Returns:
- a new ReactiveGeoCommands.GeoDistCommandforRedisGeoCommands.DistanceUnit.FEET.
 
- 
betweenApplies 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.
 
- 
andApplies 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.
 
- 
forKeyApplies 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.
 
 
-