0

I would like to write a row back to Cassandra in my Reducer and am following two word count examples provided by Cassandra (an example using cql3 and an example using Mutation), but they are both outputing a single column given a key. Can I know how to output a row (i.e, multiple columns) with a known key in a Reducer using either cql3 or Mutation?

keelar
  • 5,814
  • 7
  • 40
  • 79

1 Answers1

0

You need to look at

CqlConfigHelper.setOutputCql

which you can use with a CQL string that has multiple replacements in it. This is detailed here:

https://stackoverflow.com/a/19035392/33

Community
  • 1
  • 1
John
  • 29,788
  • 18
  • 89
  • 130