views:

256

answers:

3

How can I create or associate a super column to a column in Perl using Net::Cassandra?

+2  A: 

Best way, IMHO, is to submit a request to add information about super columns into documentation into Net::Cassandra bug tracker.

Alexandr Ciornii
+6  A: 

I just chatted with the module author and he doesn't understand the question. Then he guessed you want batch_insert which can take a supercolumn.

If that doesn't help, perhaps you step back, try to explain what you want to achieve and rephrase the question.

daxim
+2  A: 

batch_insert is one way like daxim says; another way is to just use normal insert but specify super_column in the ColumnPath as well as the column_family.

It looks like Net::Cassandra stays pretty close to the thrift api, so this should be useful: http://wiki.apache.org/cassandra/API

jbellis