public class GeoArgs extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoArgs.Sort
Sort order.
|
static class |
GeoArgs.Unit
Supported geo unit.
|
| Constructor and Description |
|---|
GeoArgs() |
| Modifier and Type | Method and Description |
|---|---|
GeoArgs |
asc()
Sort results ascending.
|
<K,V> void |
build(CommandArgs<K,V> args) |
GeoArgs |
desc()
Sort results descending.
|
boolean |
isWithCoordinates() |
boolean |
isWithDistance() |
boolean |
isWithHash() |
GeoArgs |
sort(GeoArgs.Sort sort)
Sort results.
|
GeoArgs |
withCoordinates()
Request coordinates for results.
|
GeoArgs |
withCount(long count)
Limit results to
count entries. |
GeoArgs |
withDistance()
Request distance for results.
|
GeoArgs |
withHash()
Request geohash for results.
|
public GeoArgs withDistance()
thispublic GeoArgs withCoordinates()
thispublic GeoArgs withHash()
thispublic GeoArgs withCount(long count)
count entries.count - number greater 0thispublic boolean isWithDistance()
public boolean isWithCoordinates()
public boolean isWithHash()
public GeoArgs asc()
thispublic GeoArgs desc()
thispublic GeoArgs sort(GeoArgs.Sort sort)
sort - sort order, must not be nullthispublic <K,V> void build(CommandArgs<K,V> args)
Copyright © 2017 lettuce.io. All rights reserved.