public static class RedisGeoCommands.GeoSearchStoreCommandArgs extends Object implements RedisGeoCommands.GeoCommandArgs, Cloneable
RedisGeoCommands
.RedisGeoCommands.GeoCommandArgs.GeoCommandFlag
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasFlags, hasLimit, hasSortDirection
public static RedisGeoCommands.GeoSearchStoreCommandArgs newGeoSearchStoreArgs()
RedisGeoCommands.GeoSearchStoreCommandArgs
.public RedisGeoCommands.GeoSearchStoreCommandArgs storeDistance()
RedisGeoCommands.GeoRadiusCommandArgs.Flag.STOREDIST
flag to also store the distance of the returned items from the specified center.public RedisGeoCommands.GeoSearchStoreCommandArgs sort(Sort.Direction direction)
public RedisGeoCommands.GeoSearchStoreCommandArgs sortAscending()
public RedisGeoCommands.GeoSearchStoreCommandArgs sortDescending()
public RedisGeoCommands.GeoSearchStoreCommandArgs limit(long count)
count
- public RedisGeoCommands.GeoSearchStoreCommandArgs limit(long count, boolean any)
count
- any
- public Set<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.GeoCommandArgs
public boolean isStoreDistance()
public boolean hasAnyLimit()
protected RedisGeoCommands.GeoSearchStoreCommandArgs clone()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.