嗨,我是新的cassandra和hector api我尝试crud操作,而我试图删除特定的列,它不删除仍然存在于表(后端java)。请帮帮我。
Cluster cluster = HFactory.getOrCreateCluster("TestCluster", new CassandraHostConfigurator("localhost:9160"));
Keyspace keyspace = HFactory.createKeyspace("sometext", cluster);
Mutator<String> mutator = HFactory.createMutator(keyspace, StringSerializer.get());
mutator.delete(key, "user2", "first", StringSerializer.get());
mutator.execute();