public static class ReactiveGeoCommands.GeoDistCommand extends ReactiveRedisConnection.KeyCommand
GEODIST
command parameters.getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static ReactiveGeoCommands.GeoDistCommand meters()
ReactiveGeoCommands.GeoDistCommand
for RedisGeoCommands.DistanceUnit.METERS
.ReactiveGeoCommands.GeoDistCommand
for RedisGeoCommands.DistanceUnit.METERS
.public static ReactiveGeoCommands.GeoDistCommand kilometers()
ReactiveGeoCommands.GeoDistCommand
for RedisGeoCommands.DistanceUnit.KILOMETERS
.ReactiveGeoCommands.GeoDistCommand
for RedisGeoCommands.DistanceUnit.KILOMETERS
.public static ReactiveGeoCommands.GeoDistCommand miles()
ReactiveGeoCommands.GeoDistCommand
for RedisGeoCommands.DistanceUnit.MILES
.ReactiveGeoCommands.GeoDistCommand
for RedisGeoCommands.DistanceUnit.MILES
.public static ReactiveGeoCommands.GeoDistCommand feet()
ReactiveGeoCommands.GeoDistCommand
for RedisGeoCommands.DistanceUnit.FEET
.ReactiveGeoCommands.GeoDistCommand
for RedisGeoCommands.DistanceUnit.FEET
.public ReactiveGeoCommands.GeoDistCommand between(ByteBuffer from)
from
- must not be null.ReactiveGeoCommands.GeoDistCommand
with from applied.public ReactiveGeoCommands.GeoDistCommand and(ByteBuffer to)
to
- must not be null.ReactiveGeoCommands.GeoDistCommand
with to applied.public ReactiveGeoCommands.GeoDistCommand forKey(ByteBuffer key)
key
- must not be null.ReactiveGeoCommands.GeoDistCommand
with key applied.@Nullable public ByteBuffer getFrom()
@Nullable public ByteBuffer getTo()
public Optional<org.springframework.data.geo.Metric> getMetric()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.