class JedisClusterFacade extends AbstractJedisFacade {

  String renameZRange(byte[] oldkey, byte[] newkey) {
    Set<Tuple> values = jedisCluster.zrangeWithScores(oldkey, 0, -1);
    if (values == null) {
      return "ERR";
    }
    Map<byte[], Double> scoreMembers = new HashMap<>(values.size());
    for (Tuple t : values) {
      scoreMembers.put(t.getBinaryElement(), t.getScore());
    }
    jedisCluster.zadd(newkey, scoreMembers);
    jedisCluster.del(oldkey);
    return "OK";
  }

    JedisClusterFacade(TransactionalJedisCluster jedisCluster);

}