* @param key
* @return
* @throws RiakException
*/
public void delete(String key) throws RiakException {
final DeleteObject delete = bucket.delete(key).withRetrier(retrier);
if (deleteMeta.hasR()) {
delete.r(deleteMeta.getR());
}
if (deleteMeta.hasPr()) {
delete.pr(deleteMeta.getPr());
}
if (deleteMeta.hasW()) {
delete.w(deleteMeta.getW());
}
if (deleteMeta.hasDw()) {
delete.dw(deleteMeta.getDw());
}
if (deleteMeta.hasPw()) {
delete.pw(deleteMeta.getPw());
}
delete.fetchBeforeDelete(deleteMeta.hasVclock());
delete.execute();
}