Ben
Ben

Reputation: 355

Cassandra Astyanax Composite Column

I'm currently trying to figure out whether I can access composite columns in Cassandra without using the AnnotatedCompositeSerializer. I'm looking for a method similar to what Hector does, using the Composite class and adding components.

I have search in Google but wasn't able to find any hints except for the AnnotatedCompositeSerializer. I want to use the composite key as a row key by the way.

Any hints on where to look next?

Upvotes: 0

Views: 72

Answers (1)

Lyuben Todorov
Lyuben Todorov

Reputation: 14173

Take a look at the PrefixedSerializer from the wiki page.

Upvotes: 1

Related Questions