Package | Description |
---|---|
io.vertx.redis |
= Vert.x-redis
:toc: left
Vert.x-redis is redis client to be used with Vert.x.
|
io.vertx.redis.op |
Modifier and Type | Method and Description |
---|---|
RedisClient |
RedisClient.georadiusbymemberWithOptions(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonArray>> handler)
This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area
to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial
index represented by the sorted set.
|
RedisTransaction |
RedisTransaction.georadiusbymemberWithOptions(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> handler)
This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area
to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial
index represented by the sorted set.
|
RedisClient |
RedisClient.georadiusWithOptions(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonArray>> handler)
Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders
of the area specified with the center location and the maximum distance from the center (the radius).
|
RedisTransaction |
RedisTransaction.georadiusWithOptions(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> handler)
Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders
of the area specified with the center location and the maximum distance from the center (the radius).
|
Modifier and Type | Method and Description |
---|---|
GeoRadiusOptions |
GeoRadiusOptions.setCount(Long value)
Set the radius options limit the result count.
|
GeoRadiusOptions |
GeoRadiusOptions.setWithCoord(boolean bool)
Set the radius options to be coordinate based.
|
GeoRadiusOptions |
GeoRadiusOptions.setWithDist(boolean bool)
Set the radius options to be distance based.
|
GeoRadiusOptions |
GeoRadiusOptions.setWithHash(boolean bool)
Set the radius options to be hash based.
|
Constructor and Description |
---|
GeoRadiusOptions(GeoRadiusOptions obj) |
Copyright © 2018 Eclipse. All rights reserved.