redis.clients.jedis.Jedis.zrevrangeByLex()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(4.8k)|赞(0)|评价(0)|浏览(155)

本文整理了Java中redis.clients.jedis.Jedis.zrevrangeByLex()方法的一些代码示例,展示了Jedis.zrevrangeByLex()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Jedis.zrevrangeByLex()方法的具体详情如下:
包路径:redis.clients.jedis.Jedis
类名称:Jedis
方法名:zrevrangeByLex

Jedis.zrevrangeByLex介绍

暂无

代码示例

代码示例来源:origin: sohutv/cachecloud

@Override
 public Set<byte[]> execute(Jedis connection) {
  return connection.zrevrangeByLex(key, max, min, offset, count);
 }
}.runBinary(key);

代码示例来源:origin: sohutv/cachecloud

@Override
 public Set<String> execute(Jedis connection) {
  return connection.zrevrangeByLex(key, max, min);
 }
}.run(key);

代码示例来源:origin: sohutv/cachecloud

@Override
 public Set<String> execute(Jedis connection) {
  return connection.zrevrangeByLex(key, max, min, offset, count);
 }
}.run(key);

代码示例来源:origin: sohutv/cachecloud

@Override
public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min) {
 Jedis j = getShard(key);
 return j.zrevrangeByLex(key, max, min);
}

代码示例来源:origin: sohutv/cachecloud

@Override
public Set<String> zrevrangeByLex(String key, String max, String min) {
 return getShard(key).zrevrangeByLex(key, max, min);
}

代码示例来源:origin: sohutv/cachecloud

@Override
public Set<String> zrevrangeByLex(String key, String max, String min, int offset, int count) {
 return getShard(key).zrevrangeByLex(key, max, min, offset, count);
}

代码示例来源:origin: sohutv/cachecloud

@Override
public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count) {
 Jedis j = getShard(key);
 return j.zrevrangeByLex(key, max, min, offset, count);
}

代码示例来源:origin: Netflix/conductor

@Override
public Set<String> zrevrangeByLex(String key, String max, String min, int offset, int count) {
 Jedis jedis = null;
  try {
   jedis = jedisPool.getResource();
   return jedis.zrevrangeByLex(key, max, min, offset, count);
  } finally {
   if (jedis != null)
    jedis.close();
  }
}

代码示例来源:origin: Netflix/conductor

@Override
public Set<String> zrevrangeByLex(String key, String max, String min) {
 Jedis jedis = null;
  try {
   jedis = jedisPool.getResource();
   return jedis.zrevrangeByLex(key, max, min);
  } finally {
   if (jedis != null)
    jedis.close();
  }
}

代码示例来源:origin: apache/servicemix-bundles

@Override
 public Set<byte[]> execute(Jedis connection) {
  return connection.zrevrangeByLex(key, max, min, offset, count);
 }
}.runBinary(key);

代码示例来源:origin: com.netflix.spinnaker.kork/kork-jedis

@Override
public Set<String> zrevrangeByLex(String key, String max, String min) {
 String command = "zrevrangeByLex";
 return instrumented(command, () -> delegated.zrevrangeByLex(key, max, min));
}

代码示例来源:origin: com.netflix.spinnaker.kork/kork-jedis

@Override
public Set<String> zrevrangeByLex(String key, String max, String min, int offset, int count) {
 String command = "zrevrangeByLex";
 return instrumented(command, () -> delegated.zrevrangeByLex(key, max, min, offset, count));
}

代码示例来源:origin: apache/servicemix-bundles

@Override
public Set<byte[]> zrevrangeByLex(final byte[] key, final byte[] max, final byte[] min, final int offset, final int count) {
 Jedis j = getShard(key);
 return j.zrevrangeByLex(key, max, min, offset, count);
}

代码示例来源:origin: com.netflix.spinnaker.kork/kork-jedis

@Override
public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count) {
 String command = "zrevrangeByLex";
 return instrumented(command, () -> delegated.zrevrangeByLex(key, max, min, offset, count));
}

代码示例来源:origin: com.netflix.conductor/conductor-redis-persistence

@Override
public Set<String> zrevrangeByLex(String key, String max, String min) {
 Jedis jedis = null;
  try {
   jedis = jedisPool.getResource();
   return jedis.zrevrangeByLex(key, max, min);
  } finally {
   if (jedis != null)
    jedis.close();
  }
}

代码示例来源:origin: org.nutz/nutz-integration-jedis

public Set<String> zrevrangeByLex(String key, String max, String min, int offset, int count) {
  Jedis jedis = getJedis();
  try {
    return jedis.zrevrangeByLex(key, max, min, offset, count);
  } finally {Streams.safeClose(jedis);}
}

代码示例来源:origin: org.nutz/nutz-integration-jedis

public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min) {
  Jedis jedis = getJedis();
  try {
    return jedis.zrevrangeByLex(key, max, min);
  } finally {Streams.safeClose(jedis);}
}

代码示例来源:origin: org.nutz/nutz-integration-jedis

public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count) {
  Jedis jedis = getJedis();
  try {
    return jedis.zrevrangeByLex(key, max, min, offset, count);
  } finally {Streams.safeClose(jedis);}
}

代码示例来源:origin: io.enoa/nosql-redis

default <T> Set<T> zrevrangebylex(String key, T max, T min, int offset, int count) {
 return this.run((jedis, serializer) -> EnoaRedisConvert.with(serializer).convertSet(
  jedis.zrevrangeByLex(SafeEncoder.encode(key), serializer.serialize(max), serializer.serialize(min), offset, count)
 ));
}

代码示例来源:origin: io.enoa/nosql-redis

default <T> Set<T> zrevrangebylex(String key, T max, T min) {
 return this.run((jedis, serializer) -> EnoaRedisConvert.with(serializer).convertSet(
  jedis.zrevrangeByLex(SafeEncoder.encode(key), serializer.serialize(max), serializer.serialize(min))
 ));
}

相关文章

Jedis类方法