本文整理了Java中redis.clients.jedis.Jedis.zrangeByLex()
方法的一些代码示例,展示了Jedis.zrangeByLex()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Jedis.zrangeByLex()
方法的具体详情如下:
包路径:redis.clients.jedis.Jedis
类名称:Jedis
方法名:zrangeByLex
暂无
代码示例来源:origin: sohutv/cachecloud
@Override
public Set<String> execute(Jedis connection) {
return connection.zrangeByLex(key, min, max);
}
}.run(key);
代码示例来源:origin: sohutv/cachecloud
@Override
public Set<byte[]> execute(Jedis connection) {
return connection.zrangeByLex(key, max, min);
}
}.runBinary(key);
代码示例来源:origin: sohutv/cachecloud
@Override
public Set<byte[]> execute(Jedis connection) {
return connection.zrangeByLex(key, min, max);
}
}.runBinary(key);
代码示例来源:origin: sohutv/cachecloud
@Override
public Set<String> execute(Jedis connection) {
return connection.zrangeByLex(key, min, max, offset, count);
}
}.run(key);
代码示例来源:origin: sohutv/cachecloud
@Override
public Set<byte[]> execute(Jedis connection) {
return connection.zrangeByLex(key, min, max, offset, count);
}
}.runBinary(key);
代码示例来源:origin: sohutv/cachecloud
@Override
public Set<byte[]> zrangeByLex(final byte[] key, final byte[] min, final byte[] max) {
Jedis j = getShard(key);
return j.zrangeByLex(key, min, max);
}
代码示例来源:origin: sohutv/cachecloud
@Override
public Set<byte[]> zrangeByLex(final byte[] key, final byte[] min, final byte[] max,
final int offset, final int count) {
Jedis j = getShard(key);
return j.zrangeByLex(key, min, max, offset, count);
}
代码示例来源:origin: sohutv/cachecloud
@Override
public Set<String> zrangeByLex(final String key, final String min, final String max,
final int offset, final int count) {
return getShard(key).zrangeByLex(key, min, max, offset, count);
}
代码示例来源:origin: sohutv/cachecloud
@Override
public Set<String> zrangeByLex(final String key, final String min, final String max) {
return getShard(key).zrangeByLex(key, min, max);
}
代码示例来源:origin: Netflix/conductor
@Override
public Set<String> zrangeByLex(String key, String min, String max) {
Jedis jedis = null;
try {
jedis = jedisPool.getResource();
return jedis.zrangeByLex(key, min, max);
} finally {
if (jedis != null)
jedis.close();
}
}
代码示例来源:origin: Netflix/conductor
@Override
public Set<String> zrangeByLex(String key, String min, String max, int offset, int count) {
Jedis jedis = null;
try {
jedis = jedisPool.getResource();
return jedis.zrangeByLex(key, min, max, offset, count);
} finally {
if (jedis != null)
jedis.close();
}
}
代码示例来源:origin: spring-projects/spring-data-redis
return connection.getJedis().zrangeByLex(key, min, max, limit.getOffset(), limit.getCount());
return connection.getJedis().zrangeByLex(key, min, max);
} catch (Exception ex) {
throw convertJedisAccessException(ex);
代码示例来源:origin: com.netflix.spinnaker.kork/kork-jedis
@Override
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count) {
String command = "zrangeByLex";
return instrumented(command, () -> delegated.zrangeByLex(key, min, max, offset, count));
}
代码示例来源:origin: com.netflix.spinnaker.kork/kork-jedis
@Override
public Set<String> zrangeByLex(String key, String min, String max, int offset, int count) {
String command = "zrangeByLex";
return instrumented(command, () -> delegated.zrangeByLex(key, min, max, offset, count));
}
代码示例来源:origin: com.netflix.spinnaker.kork/kork-jedis
@Override
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max) {
String command = "zrangeByLex";
return instrumented(command, () -> delegated.zrangeByLex(key, min, max));
}
代码示例来源:origin: org.nutz/nutz-integration-jedis
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max) {
Jedis jedis = getJedis();
try {
return jedis.zrangeByLex(key, min, max);
} finally {Streams.safeClose(jedis);}
}
代码示例来源:origin: org.nutz/nutz-integration-jedis
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count) {
Jedis jedis = getJedis();
try {
return jedis.zrangeByLex(key, min, max, offset, count);
} finally {Streams.safeClose(jedis);}
}
代码示例来源:origin: com.netflix.conductor/conductor-redis-persistence
@Override
public Set<String> zrangeByLex(String key, String min, String max) {
Jedis jedis = null;
try {
jedis = jedisPool.getResource();
return jedis.zrangeByLex(key, min, max);
} finally {
if (jedis != null)
jedis.close();
}
}
代码示例来源:origin: io.enoa/nosql-redis
default <T> Set<T> zrangebylex(String key, T min, T max) {
return this.run((jedis, serializer) -> EnoaRedisConvert.with(serializer).convertSet(
jedis.zrangeByLex(SafeEncoder.encode(key), serializer.serialize(min), serializer.serialize(max))
));
}
代码示例来源:origin: io.enoa/nosql-redis
default <T> Set<T> zrangebylex(String key, T min, T max, int offset, int count) {
return this.run((jedis, serializer) -> EnoaRedisConvert.with(serializer).convertSet(
jedis.zrangeByLex(SafeEncoder.encode(key), serializer.serialize(min), serializer.serialize(max), offset, count)
));
}
内容来源于网络,如有侵权,请联系作者删除!