Search code examples
cassandracomposite-keyastyanax

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?


Solution

  • Take a look at the PrefixedSerializer from the wiki page.