public static class ReactiveGeoCommands.GeoRadiusByMemberCommand extends ReactiveRedisConnection.KeyCommand
GEORADIUSBYMEMBER
command parameters.getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static ReactiveGeoCommands.GeoRadiusByMemberCommand within(Distance distance)
ReactiveGeoCommands.GeoRadiusByMemberCommand
given a Distance
.distance
- must not be null.ReactiveGeoCommands.GeoRadiusByMemberCommand
for a Distance
.public static ReactiveGeoCommands.GeoRadiusByMemberCommand withinMeters(double distance)
ReactiveGeoCommands.GeoRadiusByMemberCommand
given a distance in RedisGeoCommands.DistanceUnit.METERS
.distance
- must not be null.ReactiveGeoCommands.GeoRadiusByMemberCommand
for a distance in RedisGeoCommands.DistanceUnit.METERS
.public static ReactiveGeoCommands.GeoRadiusByMemberCommand withinKiometers(double distance)
ReactiveGeoCommands.GeoRadiusByMemberCommand
given a distance in RedisGeoCommands.DistanceUnit.KILOMETERS
.distance
- must not be null.ReactiveGeoCommands.GeoRadiusByMemberCommand
for a distance in RedisGeoCommands.DistanceUnit.KILOMETERS
.public static ReactiveGeoCommands.GeoRadiusByMemberCommand withinMiles(double distance)
ReactiveGeoCommands.GeoRadiusByMemberCommand
given a distance in RedisGeoCommands.DistanceUnit.MILES
.distance
- must not be null.ReactiveGeoCommands.GeoRadiusByMemberCommand
for a distance in RedisGeoCommands.DistanceUnit.MILES
.public static ReactiveGeoCommands.GeoRadiusByMemberCommand withinFeet(double distance)
ReactiveGeoCommands.GeoRadiusByMemberCommand
given a distance in RedisGeoCommands.DistanceUnit.FEET
.distance
- must not be null.ReactiveGeoCommands.GeoRadiusByMemberCommand
for a distance in RedisGeoCommands.DistanceUnit.FEET
.public ReactiveGeoCommands.GeoRadiusByMemberCommand from(ByteBuffer member)
member
- must not be null.ReactiveGeoCommands.GeoRadiusByMemberCommand
with member applied.public ReactiveGeoCommands.GeoRadiusByMemberCommand withFlag(RedisGeoCommands.GeoRadiusCommandArgs.Flag flag)
flags
. Constructs a new command instance with all previously configured properties.flag
- must not be null.ReactiveGeoCommands.GeoRadiusByMemberCommand
with key applied.public ReactiveGeoCommands.GeoRadiusByMemberCommand withCoord()
ReactiveGeoCommands.GeoRadiusByMemberCommand
with RedisGeoCommands.GeoRadiusCommandArgs.Flag.WITHCOORD
applied.public ReactiveGeoCommands.GeoRadiusByMemberCommand withDist()
ReactiveGeoCommands.GeoRadiusByMemberCommand
with RedisGeoCommands.GeoRadiusCommandArgs.Flag.WITHDIST
applied.public ReactiveGeoCommands.GeoRadiusByMemberCommand withArgs(RedisGeoCommands.GeoRadiusCommandArgs args)
RedisGeoCommands.GeoRadiusCommandArgs
. Constructs a new command instance with all previously configured
properties.args
- can be null.ReactiveGeoCommands.GeoRadiusByMemberCommand
with RedisGeoCommands.GeoRadiusCommandArgs
applied.public ReactiveGeoCommands.GeoRadiusByMemberCommand limitTo(long limit)
limit
- ReactiveGeoCommands.GeoRadiusByMemberCommand
with limit applied.public ReactiveGeoCommands.GeoRadiusByMemberCommand sort(Sort.Direction direction)
Sort.Direction
. Constructs a new command instance with all previously configured
properties.direction
- must not be null.ReactiveGeoCommands.GeoRadiusByMemberCommand
with sort Sort.Direction
applied.public ReactiveGeoCommands.GeoRadiusByMemberCommand orderByDistanceAsc()
ReactiveGeoCommands.GeoRadiusByMemberCommand
with sort Sort.Direction.ASC
applied.public ReactiveGeoCommands.GeoRadiusByMemberCommand orderByDistanceDesc()
ReactiveGeoCommands.GeoRadiusByMemberCommand
with sort Sort.Direction.DESC
applied.public ReactiveGeoCommands.GeoRadiusByMemberCommand forKey(ByteBuffer key)
key
- must not be null.ReactiveGeoCommands.GeoRadiusByMemberCommand
with key applied.public ReactiveGeoCommands.GeoRadiusByMemberCommand storeAt(ByteBuffer key)
key
- public ReactiveGeoCommands.GeoRadiusByMemberCommand storeDistAt(ByteBuffer key)
key
- public Optional<Sort.Direction> getDirection()
public Distance getDistance()
public Set<RedisGeoCommands.GeoRadiusCommandArgs.Flag> getFlags()
public ByteBuffer getMember()
public Optional<ByteBuffer> getStore()
public Optional<ByteBuffer> getStoreDist()
public Optional<RedisGeoCommands.GeoRadiusCommandArgs> getArgs()
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.