+ add Jredis support for new zset operations (unfortunately just UOE)

This commit is contained in:
Costin Leau
2010-11-09 13:16:04 +02:00
parent fcbd57a2c9
commit 03d4a4f770

View File

@@ -557,6 +557,12 @@ public class JredisConnection implements RedisConnection {
}
}
@Override
public Set<Tuple> zRangeWithScore(String key, int start, int end) {
throw new UnsupportedOperationException();
}
@Override
public Set<String> zRangeByScore(String key, double min, double max) {
try {
@@ -566,6 +572,21 @@ public class JredisConnection implements RedisConnection {
}
}
@Override
public Set<Tuple> zRangeByScoreWithScore(String key, double min, double max) {
throw new UnsupportedOperationException();
}
@Override
public Set<String> zRangeByScore(String key, double min, double max, int offset, int count) {
throw new UnsupportedOperationException();
}
@Override
public Set<Tuple> zRangeByScoreWithScore(String key, double min, double max, int offset, int count) {
throw new UnsupportedOperationException();
}
@Override
public Integer zRank(String key, String value) {
try {
@@ -611,6 +632,11 @@ public class JredisConnection implements RedisConnection {
}
}
@Override
public Set<Tuple> zRevRangeWithScore(String key, int start, int end) {
throw new UnsupportedOperationException();
}
@Override
public Integer zRevRank(String key, String value) {
try {