return rm;
}
static RequestMeta convert(DeleteMeta deleteMeta) {
RequestMeta rm = convert(new FetchMeta(deleteMeta.getR(), deleteMeta.getPr(), null, null, null, null, null,
null));
if (deleteMeta.hasW()) {
rm.setQueryParam(Constants.QP_W, deleteMeta.getW().toString());
}
if (deleteMeta.hasPw()) {
rm.setQueryParam(Constants.QP_PW, deleteMeta.getPw().toString());
}
if (deleteMeta.hasDw()) {
rm.setQueryParam(Constants.QP_DW, deleteMeta.getDw().toString());
}
if (deleteMeta.hasRw()) {
rm.setQueryParam(Constants.QP_RW, deleteMeta.getRw().toString());
}
if (deleteMeta.hasVclock()) {
rm.setHeader(Constants.HDR_VCLOCK, deleteMeta.getVclock().asString());
}
return null;
}