Added bitcount to standard interfaces and bitop to MultiKey interfaces (since it is non-shardable)

Merge branch 'impl-bitcount-and-bitop' of git://github.com/koron/jedis

Conflicts:
	src/main/java/redis/clients/jedis/JedisCommands.java
This commit is contained in:
samhendley
2013-01-09 23:48:23 -05:00
21 changed files with 262 additions and 9 deletions

View File

@@ -554,5 +554,13 @@ public class BinaryShardedJedis extends Sharded<Jedis, JedisShardInfo>
return j.blpop(arg);
}
public Long bitcount(byte[] key) {
Jedis j = getShard(key);
return j.bitcount(key);
}
public Long bitcount(byte[] key, long start, long end) {
Jedis j = getShard(key);
return j.bitcount(key, start, end);
}
}