new - zcount with string min and max

This commit is contained in:
mindwind
2013-07-03 16:20:31 +08:00
parent 27b9eba0c0
commit 96c789aaab

View File

@@ -673,6 +673,11 @@ abstract class PipelineBase extends Queable implements
getClient(key).zcount(key, min, max);
return getResponse(BuilderFactory.LONG);
}
public Response<Long> zcount(String key, String min, String max) {
getClient(key).zcount(key, min, max);
return getResponse(BuilderFactory.LONG);
}
public Response<Long> zcount(byte[] key, double min, double max) {
getClient(key).zcount(key, toByteArray(min), toByteArray(max));