Is it possible to insert a row of following format in cassandra using hector api:
rowkey1 ==> "Column name1":{"item1","item2","item3"}
"Column name2":{"item11","item22","item33"}
"Column name3":{"item111","item222","item333"}
rowkey2 ==> "Column name1-a":{"item1","item2","item3"}
"Column name2-b":{"item11","item22","item33"}
"Column name3-c":{"item111","item222","item333"}
i.e each column will consist of: column_name, multiple column value i.e. A column will consist of Column name and its value will consist of multiple thing like {'item title','item price','about item'} .Columns name and kind of column value are dynamic, different row might have different columns with different number and different kind of values.
I was thinking of doing somthing like: column name will be String and column value will be some class object with required property. Is it good? The idea behind is that it will contain every thing in same column and in single call to column will give all multiple values. Using multiple column might increase the work of reading multiple column.
Editing and reading record should not be a problem as i think. I am using hector core API not CQL as columns are dynamic.
Any suggestion or solutions ??