private static Mutation createDeleteColumnMutation ( byte [ ] colName , long timestamp ) { SlicePredicate slicePred = new SlicePredicate ( ) ; slicePred . addToColumn_names ( ByteBuffer . wrap ( colName ) ) ; Deletion deletion = new Deletion ( ) ; deletion . setPredicate ( slicePred ) ; deletion . setTimestamp ( timestamp ) ; Mutation mutation = new Mutation ( ) ; mutation . setDeletion ( deletion ) ; return mutation ; }
Create a column mutation that deletes the given column name .