public void delete(String columnFamily, String key) {
   Mutator<String> mutator = HFactory.createMutator(this._keyspace, StringSerializer.get());
   mutator.delete(key, columnFamily, null, StringSerializer.get());
   // mutator.addDeletion(key, columnFamily);
   // mutator.execute();
 }
Beispiel #2
0
 public void removeColumn(String keyspace, String cf, String key, String column) {
   Keyspace ks = getKeyspaceForName(keyspace);
   Mutator<String> mutator = HFactory.createMutator(ks, s);
   mutator.delete(key, cf, column, s);
 }