@Test
 public void zremrangebyrank() {
   rc.del(a("myzset"));
   eq(1, rc.zadd(a("myzset", "1", "one")));
   eq(1, rc.zadd(a("myzset", "2", "two")));
   eq(1, rc.zadd(a("myzset", "3", "three")));
   eq(2, rc.zremrangebyrank("myzset", "0", "1"));
   eq(a("three", "3"), rc.zrange("myzset", "0", "-1", WITHSCORES));
 }
 public Long zRemRange(byte[] key, long start, long end) {
   try {
     if (isPipelined()) {
       pipeline(pipeline.zremrangebyrank(key, start, end));
       return null;
     }
     return client.zremrangebyrank(key, start, end).data();
   } catch (Exception ex) {
     throw convertSrpAccessException(ex);
   }
 }