public static class RedisGeoCommands.GeoSearchCommandArgs extends Object implements RedisGeoCommands.GeoCommandArgs, Cloneable
RedisGeoCommands.RedisGeoCommands.GeoCommandArgs.GeoCommandFlag| Modifier and Type | Field and Description |
|---|---|
protected Set<RedisGeoCommands.GeoCommandArgs.GeoCommandFlag> |
flags |
protected Long |
limit |
protected Sort.Direction |
sortDirection |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasFlags, hasLimit, hasSortDirectionprotected final Set<RedisGeoCommands.GeoCommandArgs.GeoCommandFlag> flags
@Nullable protected Sort.Direction sortDirection
public static RedisGeoCommands.GeoSearchCommandArgs newGeoSearchArgs()
RedisGeoCommands.GeoSearchCommandArgs.public RedisGeoCommands.GeoSearchCommandArgs includeCoordinates()
RedisGeoCommands.GeoRadiusCommandArgs.Flag.WITHCOORD flag to also return the longitude, latitude coordinates of the matching items.public RedisGeoCommands.GeoSearchCommandArgs includeDistance()
RedisGeoCommands.GeoRadiusCommandArgs.Flag.WITHDIST flag to also return the distance of the returned items from the specified center.public RedisGeoCommands.GeoSearchCommandArgs sort(Sort.Direction direction)
public RedisGeoCommands.GeoSearchCommandArgs sortAscending()
public RedisGeoCommands.GeoSearchCommandArgs sortDescending()
public RedisGeoCommands.GeoSearchCommandArgs limit(long count)
count - public RedisGeoCommands.GeoSearchCommandArgs limit(long count, boolean any)
count - any - public Set<? extends RedisGeoCommands.GeoCommandArgs.GeoCommandFlag> getFlags()
getFlags in interface RedisGeoCommands.GeoCommandArgs@Nullable public Long getLimit()
getLimit in interface RedisGeoCommands.GeoCommandArgs@Nullable public Sort.Direction getSortDirection()
getSortDirection in interface RedisGeoCommands.GeoCommandArgspublic boolean hasAnyLimit()
protected RedisGeoCommands.GeoSearchCommandArgs clone()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.