Java Code Examples for redis.clients.jedis.Jedis#zrevrangeByScoreWithScores()

The following examples show how to use redis.clients.jedis.Jedis#zrevrangeByScoreWithScores() . 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: DefaultRedis.java    From craft-atom with MIT License 4 votes vote down vote up
private Map<String, Double> zrevrangebyscorewithscores0(Jedis j, String key, double max, double min) {
	Set<Tuple> set = j.zrevrangeByScoreWithScores(key, max, min);
	Map<String, Double> map = convert4zrangewithscores(set);
	return map;
}
 
Example 2
Source File: DefaultRedis.java    From craft-atom with MIT License 4 votes vote down vote up
private Map<String, Double> zrevrangebyscorewithscores_string(Jedis j, String key, String max, String min) {
	Set<Tuple> set = j.zrevrangeByScoreWithScores(key, max, min);
	Map<String, Double> map = convert4zrangewithscores(set);
	return map;
}
 
Example 3
Source File: DefaultRedis.java    From craft-atom with MIT License 4 votes vote down vote up
private Map<String, Double> zrevrangebyscorewithscores_offset_count(Jedis j, String key, double max, double min, int offset, int count) {
	Set<Tuple> set = j.zrevrangeByScoreWithScores(key, max, min, offset, count);
	Map<String, Double> map = convert4zrangewithscores(set);
	return map;
}
 
Example 4
Source File: DefaultRedis.java    From craft-atom with MIT License 4 votes vote down vote up
private Map<String, Double> zrevrangebyscorewithscores_offset_count_string(Jedis j, String key, String max, String min, int offset, int count) {
	Set<Tuple> set = j.zrevrangeByScoreWithScores(key, max, min, offset, count);
	Map<String, Double> map = convert4zrangewithscores(set);
	return map;
}