public static class RedisGeoCommands.GeoRadiusCommandArgs extends Object implements Cloneable
RedisGeoCommands
.Modifier and Type | Class and Description |
---|---|
static class |
RedisGeoCommands.GeoRadiusCommandArgs.Flag |
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.public RedisGeoCommands.GeoRadiusCommandArgs includeDistance()
RedisGeoCommands.GeoRadiusCommandArgs.Flag.WITHDIST
flag to also return the distance of the returned items from the specified center.public RedisGeoCommands.GeoRadiusCommandArgs sortAscending()
public RedisGeoCommands.GeoRadiusCommandArgs sortDescending()
public RedisGeoCommands.GeoRadiusCommandArgs limit(long count)
count
- public Set<RedisGeoCommands.GeoRadiusCommandArgs.Flag> getFlags()
@Nullable public Sort.Direction getSortDirection()
public boolean hasFlags()
public boolean hasSortDirection()
public boolean hasLimit()
protected RedisGeoCommands.GeoRadiusCommandArgs clone()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.