public static class ReactiveGeoCommands.GeoDistCommand extends ReactiveRedisConnection.KeyCommand
GEODIST
command parameters.Modifier and Type | Method and Description |
---|---|
ReactiveGeoCommands.GeoDistCommand |
and(ByteBuffer to)
Applies the to member.
|
ReactiveGeoCommands.GeoDistCommand |
between(ByteBuffer from)
Applies the from member.
|
static ReactiveGeoCommands.GeoDistCommand |
feet()
Creates a new
ReactiveGeoCommands.GeoDistCommand for RedisGeoCommands.DistanceUnit.FEET . |
ReactiveGeoCommands.GeoDistCommand |
forKey(ByteBuffer key)
Applies the Geo set key member.
|
ByteBuffer |
getFrom() |
Optional<Metric> |
getMetric() |
ByteBuffer |
getTo() |
static ReactiveGeoCommands.GeoDistCommand |
kilometers()
Creates a new
ReactiveGeoCommands.GeoDistCommand for RedisGeoCommands.DistanceUnit.KILOMETERS . |
static ReactiveGeoCommands.GeoDistCommand |
meters()
Creates a new
ReactiveGeoCommands.GeoDistCommand for RedisGeoCommands.DistanceUnit.METERS . |
static ReactiveGeoCommands.GeoDistCommand |
miles()
Creates a new
ReactiveGeoCommands.GeoDistCommand for RedisGeoCommands.DistanceUnit.MILES . |
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()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.