本文整理了Java中io.vertx.redis.RedisClient.georadiusbymemberWithOptions
方法的一些代码示例,展示了RedisClient.georadiusbymemberWithOptions
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RedisClient.georadiusbymemberWithOptions
方法的具体详情如下:
包路径:io.vertx.redis.RedisClient
类名称:RedisClient
方法名:georadiusbymemberWithOptions
[英]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.
[中]此命令与Georgadius完全相同,唯一的区别是,它没有将经度和纬度值作为要查询的区域的中心,而是采用已排序集表示的地理空间索引中已存在的成员的名称。
代码示例来源:origin: io.vertx/vertx-rx-java
/**
* 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.
* @param key Key string
* @param member member
* @param radius radius
* @param unit geo unit
* @param options geo radius options
* @param handler Handler for the result of this call.
* @return
*/
public io.vertx.rxjava.redis.RedisClient georadiusbymemberWithOptions(String key, String member, double radius, GeoUnit unit, GeoRadiusOptions options, Handler<AsyncResult<JsonArray>> handler) {
delegate.georadiusbymemberWithOptions(key, member, radius, unit, options, handler);
return this;
}
代码示例来源:origin: vert-x3/vertx-rx
/**
* 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.
* @param key Key string
* @param member member
* @param radius radius
* @param unit geo unit
* @param options geo radius options
* @param handler Handler for the result of this call.
* @return
*/
public io.vertx.rxjava.redis.RedisClient georadiusbymemberWithOptions(String key, String member, double radius, GeoUnit unit, GeoRadiusOptions options, Handler<AsyncResult<JsonArray>> handler) {
delegate.georadiusbymemberWithOptions(key, member, radius, unit, options, handler);
return this;
}
代码示例来源:origin: io.vertx/vertx-lang-groovy
public static io.vertx.redis.RedisClient georadiusbymemberWithOptions(io.vertx.redis.RedisClient j_receiver, java.lang.String key, java.lang.String member, double radius, io.vertx.redis.op.GeoUnit unit, java.util.Map<String, Object> options, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<Object>>> handler) {
io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.georadiusbymemberWithOptions(key,
member,
radius,
unit,
options != null ? new io.vertx.redis.op.GeoRadiusOptions(io.vertx.core.impl.ConversionHelper.toJsonObject(options)) : null,
handler != null ? new io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonArray>>() {
public void handle(io.vertx.core.AsyncResult<io.vertx.core.json.JsonArray> ar) {
handler.handle(ar.map(event -> io.vertx.core.impl.ConversionHelper.fromJsonArray(event)));
}
} : null));
return j_receiver;
}
public static io.vertx.redis.RedisClient bitfield(io.vertx.redis.RedisClient j_receiver, java.lang.String key, java.util.Map<String, Object> bitFieldOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<Object>>> handler) {
内容来源于网络,如有侵权,请联系作者删除!