redis.clients.jedis.params.GeoRadiusParam Java Examples
The following examples show how to use
redis.clients.jedis.params.GeoRadiusParam.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TracingJedisWrapper.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusReadonly(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadiusReadonly", key); span.setTag("longitude", longitude); span.setTag("latitude", latitude); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper.decorate(span, () -> wrapped.georadiusReadonly(key, longitude, latitude, radius, unit, param)); }
Example #2
Source File: InstrumentedJedis.java From kork with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusByMember( byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param) { String command = "georadiusByMember"; return instrumented( command, () -> delegated.georadiusByMember(key, member, radius, unit, param)); }
Example #3
Source File: InstrumentedJedis.java From kork with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadius( byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { String command = "georadius"; return instrumented( command, () -> delegated.georadius(key, longitude, latitude, radius, unit, param)); }
Example #4
Source File: InstrumentedJedis.java From kork with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusByMember( String key, String member, double radius, GeoUnit unit, GeoRadiusParam param) { String command = "georadiusByMember"; return instrumented( command, () -> delegated.georadiusByMember(key, member, radius, unit, param)); }
Example #5
Source File: InstrumentedJedis.java From kork with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadius( String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { String command = "georadius"; return instrumented( command, () -> delegated.georadius(key, longitude, latitude, radius, unit, param)); }
Example #6
Source File: InstrumentedPipeline.java From kork with Apache License 2.0 | 5 votes |
@Override public Response<List<GeoRadiusResponse>> georadiusByMember( String key, String member, double radius, GeoUnit unit, GeoRadiusParam param) { String command = "georadiusByMember"; return instrumented( command, () -> delegated.georadiusByMember(key, member, radius, unit, param)); }
Example #7
Source File: InstrumentedPipeline.java From kork with Apache License 2.0 | 5 votes |
@Override public Response<List<GeoRadiusResponse>> georadiusByMember( byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param) { String command = "georadiusByMember"; return instrumented( command, () -> delegated.georadiusByMember(key, member, radius, unit, param)); }
Example #8
Source File: InstrumentedPipeline.java From kork with Apache License 2.0 | 5 votes |
@Override public Response<List<GeoRadiusResponse>> georadius( String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { String command = "georadius"; return instrumented( command, () -> delegated.georadius(key, longitude, latitude, radius, unit, param)); }
Example #9
Source File: InstrumentedPipeline.java From kork with Apache License 2.0 | 5 votes |
@Override public Response<List<GeoRadiusResponse>> georadius( byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { String command = "georadius"; return instrumented( command, () -> delegated.georadius(key, longitude, latitude, radius, unit, param)); }
Example #10
Source File: JedisSentinel.java From conductor with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param) { try (Jedis jedis = jedisPool.getResource()) { return jedis.georadiusByMemberReadonly(key, member, radius, unit, param); } }
Example #11
Source File: JedisSentinel.java From conductor with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusByMember(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param) { try (Jedis jedis = jedisPool.getResource()) { return jedis.georadiusByMember(key, member, radius, unit, param); } }
Example #12
Source File: JedisSentinel.java From conductor with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusReadonly(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { try (Jedis jedis = jedisPool.getResource()) { return jedis.georadiusReadonly(key, longitude, latitude, radius, unit, param); } }
Example #13
Source File: JedisSentinel.java From conductor with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadius(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { try (Jedis jedis = jedisPool.getResource()) { return jedis.georadius(key, longitude, latitude, radius, unit, param); } }
Example #14
Source File: TracingJedisCluster.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadiusByMemberReadonly", key); span.setTag("member", member); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper .decorate(span, () -> super.georadiusByMemberReadonly(key, member, radius, unit, param)); }
Example #15
Source File: TracingJedisCluster.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusReadonly(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadiusReadonly", key); span.setTag("longitude", longitude); span.setTag("latitude", latitude); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper .decorate(span, () -> super.georadiusReadonly(key, longitude, latitude, radius, unit, param)); }
Example #16
Source File: TracingJedisWrapper.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadius(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadius", key); span.setTag("longitude", longitude); span.setTag("latitude", latitude); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper .decorate(span, () -> wrapped.georadius(key, longitude, latitude, radius, unit, param)); }
Example #17
Source File: TracingJedisWrapper.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusByMember(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadiusByMember", key); span.setTag("member", member); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper.decorate(span, () -> wrapped.georadiusByMember(key, member, radius, unit, param)); }
Example #18
Source File: TracingJedisWrapper.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadiusByMemberReadonly", key); span.setTag("member", member); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper .decorate(span, () -> wrapped.georadiusByMemberReadonly(key, member, radius, unit, param)); }
Example #19
Source File: TracingJedisWrapper.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadius", key); span.setTag("longitude", longitude); span.setTag("latitude", latitude); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper .decorate(span, () -> wrapped.georadius(key, longitude, latitude, radius, unit, param)); }
Example #20
Source File: TracingJedisWrapper.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadiusReadonly", key); span.setTag("longitude", longitude); span.setTag("latitude", latitude); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper .decorate(span, () -> wrapped.georadiusReadonly(key, longitude, latitude, radius, unit, param)); }
Example #21
Source File: TracingJedisWrapper.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadiusByMember", key); span.setTag("member", Arrays.toString(member)); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper .decorate(span, () -> wrapped.georadiusByMember(key, member, radius, unit, param)); }
Example #22
Source File: TracingJedisWrapper.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadiusByMemberReadonly", key); span.setTag("member", Arrays.toString(member)); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper .decorate(span, () -> wrapped.georadiusByMemberReadonly(key, member, radius, unit, param)); }
Example #23
Source File: TracingJedisCluster.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadius", key); span.setTag("longitude", longitude); span.setTag("latitude", latitude); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper .decorate(span, () -> super.georadius(key, longitude, latitude, radius, unit, param)); }
Example #24
Source File: TracingJedisCluster.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusByMember(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadiusByMember", key); span.setTag("member", member); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper .decorate(span, () -> super.georadiusByMember(key, member, radius, unit, param)); }
Example #25
Source File: TracingJedisCluster.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadius(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadius", key); span.setTag("longitude", longitude); span.setTag("latitude", latitude); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper .decorate(span, () -> super.georadius(key, longitude, latitude, radius, unit, param)); }
Example #26
Source File: TracingJedisCluster.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadiusByMemberReadonly", key); span.setTag("member", Arrays.toString(member)); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper .decorate(span, () -> super.georadiusByMemberReadonly(key, member, radius, unit, param)); }
Example #27
Source File: TracingJedisCluster.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadiusByMember", key); span.setTag("member", Arrays.toString(member)); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper.decorate(span, () -> super.georadiusByMember(key, member, radius, unit, param)); }
Example #28
Source File: TracingJedisCluster.java From java-redis-client with Apache License 2.0 | 5 votes |
@Override public List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { Span span = helper.buildSpan("georadiusReadonly", key); span.setTag("longitude", longitude); span.setTag("latitude", latitude); span.setTag("radius", radius); span.setTag("unit", unit.name()); span.setTag("param", TracingHelper.toString(param.getByteParams())); return helper.decorate(span, () -> super.georadiusReadonly(key, longitude, latitude, radius, unit, param)); }
Example #29
Source File: DynoJedisPipeline.java From dyno with Apache License 2.0 | 4 votes |
@Override public Response<List<GeoRadiusResponse>> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param) { throw new UnsupportedOperationException("not yet implemented"); }
Example #30
Source File: DynoJedisPipeline.java From dyno with Apache License 2.0 | 4 votes |
@Override public Response<List<GeoRadiusResponse>> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param) { throw new UnsupportedOperationException("not yet implemented"); }