Preconditions.checkNotNull(columnName, "Column name cannot be null");
// Create a reusable predicate for deleting columns and insert only once
if (null == lastDeletion || lastDeletion.getTimestamp() != timestamp) {
lastDeletion = new Deletion().setPredicate(new SlicePredicate()).setTimestamp(timestamp);
mutationList.add(new Mutation().setDeletion(lastDeletion));
}
ByteBuffer bb = this.columnSerializer.toByteBuffer(columnName);
if (!bb.hasRemaining()) {
throw new RuntimeException("Column name cannot be empty");