Skip to content

Commit

Permalink
Adds binary zcount to pipeline and transaction. Fixes redis#954
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosnils committed Apr 20, 2015
1 parent d1842a2 commit e45e0fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/redis/clients/jedis/PipelineBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,11 @@ public Response<Long> zcount(byte[] key, double min, double max) {
getClient(key).zcount(key, toByteArray(min), toByteArray(max));
return getResponse(BuilderFactory.LONG);
}

public Response<Long> zcount(byte[] key, byte[] min, byte[] max) {
getClient(key).zcount(key, min, max);
return getResponse(BuilderFactory.LONG);
}

public Response<Double> zincrby(String key, double score, String member) {
getClient(key).zincrby(key, score, member);
Expand Down

0 comments on commit e45e0fc

Please sign in to comment.