public class GeoRadiusStoreArgs<K> extends Object
Constructor and Description |
---|
GeoRadiusStoreArgs() |
Modifier and Type | Method and Description |
---|---|
GeoRadiusStoreArgs |
asc()
Sort results ascending.
|
<K,V> void |
build(CommandArgs<K,V> args) |
GeoRadiusStoreArgs |
desc()
Sort results descending.
|
K |
getStoreDistKey() |
K |
getStoreKey() |
GeoRadiusStoreArgs |
sort(GeoArgs.Sort sort)
Sort results.
|
GeoRadiusStoreArgs |
withCount(long count)
Limit results to
count entries. |
GeoRadiusStoreArgs |
withStore(K storeKey)
Store the resulting members with their location in the new Geo set
storeKey . |
GeoRadiusStoreArgs |
withStoreDist(K storeKey)
Store the resulting members with their distance in the sorted set
storeKey . |
public GeoRadiusStoreArgs withStore(K storeKey)
storeKey
.this
public GeoRadiusStoreArgs withStoreDist(K storeKey)
storeKey
.this
public GeoRadiusStoreArgs withCount(long count)
count
entries.count
- number greater 0this
public GeoRadiusStoreArgs asc()
this
public GeoRadiusStoreArgs desc()
this
public K getStoreKey()
public K getStoreDistKey()
public GeoRadiusStoreArgs sort(GeoArgs.Sort sort)
sort
- sort order, must not be nullthis
public <K,V> void build(CommandArgs<K,V> args)
Copyright © 2016. All rights reserved.