public static class RedisGeoCommands.GeoRadiusCommandArgs extends RedisGeoCommands.GeoSearchCommandArgs implements Cloneable
RedisGeoCommands
.Modifier and Type | Class and Description |
---|---|
static class |
RedisGeoCommands.GeoRadiusCommandArgs.Flag |
RedisGeoCommands.GeoCommandArgs.GeoCommandFlag
flags, limit, sortDirection
getLimit, getSortDirection, hasAnyLimit, limit, newGeoSearchArgs
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasFlags, hasLimit, hasSortDirection
public static RedisGeoCommands.GeoRadiusCommandArgs newGeoRadiusArgs()
RedisGeoCommands.GeoRadiusCommandArgs
.public RedisGeoCommands.GeoRadiusCommandArgs includeCoordinates()
RedisGeoCommands.GeoRadiusCommandArgs.Flag.WITHCOORD
flag to also return the longitude, latitude coordinates of the matching items.includeCoordinates
in class RedisGeoCommands.GeoSearchCommandArgs
public RedisGeoCommands.GeoRadiusCommandArgs includeDistance()
RedisGeoCommands.GeoRadiusCommandArgs.Flag.WITHDIST
flag to also return the distance of the returned items from the specified center.includeDistance
in class RedisGeoCommands.GeoSearchCommandArgs
public RedisGeoCommands.GeoRadiusCommandArgs sort(org.springframework.data.domain.Sort.Direction direction)
sort
in class RedisGeoCommands.GeoSearchCommandArgs
public RedisGeoCommands.GeoRadiusCommandArgs sortAscending()
sortAscending
in class RedisGeoCommands.GeoSearchCommandArgs
public RedisGeoCommands.GeoRadiusCommandArgs sortDescending()
sortDescending
in class RedisGeoCommands.GeoSearchCommandArgs
public RedisGeoCommands.GeoRadiusCommandArgs limit(long count)
limit
in class RedisGeoCommands.GeoSearchCommandArgs
count
- public Set<RedisGeoCommands.GeoRadiusCommandArgs.Flag> getFlags()
getFlags
in interface RedisGeoCommands.GeoCommandArgs
getFlags
in class RedisGeoCommands.GeoSearchCommandArgs
protected RedisGeoCommands.GeoRadiusCommandArgs clone()
clone
in class RedisGeoCommands.GeoSearchCommandArgs
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.