public class GeoRadiusOptions extends Object
Constructor and Description |
---|
GeoRadiusOptions() |
GeoRadiusOptions(GeoRadiusOptions obj) |
GeoRadiusOptions(io.vertx.core.json.JsonObject obj) |
Modifier and Type | Method and Description |
---|---|
GeoRadiusOptions |
setCount(Long value)
Set the radius options limit the result count.
|
GeoRadiusOptions |
setWithCoord(boolean bool)
Set the radius options to be coordinate based.
|
GeoRadiusOptions |
setWithDist(boolean bool)
Set the radius options to be distance based.
|
GeoRadiusOptions |
setWithHash(boolean bool)
Set the radius options to be hash based.
|
io.vertx.core.json.JsonObject |
toJson() |
io.vertx.core.json.JsonArray |
toJsonArray() |
public GeoRadiusOptions()
public GeoRadiusOptions(GeoRadiusOptions obj)
public GeoRadiusOptions(io.vertx.core.json.JsonObject obj)
public GeoRadiusOptions setWithCoord(boolean bool)
bool
- true for coordinate basepublic GeoRadiusOptions setWithDist(boolean bool)
bool
- true for distance basepublic GeoRadiusOptions setWithHash(boolean bool)
bool
- true for hash basepublic GeoRadiusOptions setCount(Long value)
value
- the countpublic io.vertx.core.json.JsonObject toJson()
public io.vertx.core.json.JsonArray toJsonArray()
Copyright © 2018 Eclipse. All rights reserved.