2 Answers
2

OK. Going out on a limb here. If you want the primary key to be composed of id1 and id2 in that order, then when you insert a row you'll add a single column for value and the row key and column name will be derived from the values of id1 and id2.

The row key will be the value of id1.

The column name for value will be a composite value consisting of the value for id1 ("1" in this case) and the name of column id2 ("id2" in this case).

At least that's what you'd have to do in Hector if you didn't use CQL directly.