Hi,
with the following code I try to update a row
Keyspace fKeyspace = HFactory.createKeyspace(KEYSPACE, fCluster);
// Update with CQL
CqlQueryString,String,String cqlQuery =
new CqlQueryString,String,String(fKeyspace, fStringS, fStringS, fStringS);
cqlQuery.setQuery(
INSERT INTO Fahrer (KEY, 'first') VALUES('fahrer1', 'FirstnameUpdated'));
QueryResultCqlRowsString,String,String result = cqlQuery.execute();
// Update with mutator
MutatorString mutator = HFactory.createMutator(fKeyspace, fStringS);
MutationResult mr = mutator.insert(fahrer2, Fahrer,
HFactory.createStringColumn(first, SecondUpdated));
The update of the CQL-query is not performed, the update with the mutator is
performed. Where is the mistake?
Thank you very much!!
Best
Christian