for(String k: values.keySet()) {
oldval.put(k, values.get(k));
}
values = oldval;
}
ResponseCode succ = c.update(table, bufStr(key), encode(values));
return ycsbThriftRet(succ, ResponseCode.RecordExists, ResponseCode.RecordNotFound);
} catch(TException e) {
e.printStackTrace();
return 2;
}