I have a requirement to design like following
Row Column Column
A | B | E |
SubColumn SubColumn
C D F G
1 2 3 4
I don't know if this type of structure is possible. also i would like to know How to query such a table using Hector client. It would be nice if I can read some examples of insertion , deletion and updation using Hector.
Inserting a Column on a SuperColumn with Mutator is quite similar to what we have already seen. The only difference is we are now creating an HSuperColumn in place of HColumn to provide some additional structure. For example, if we wanted to store our users under the "billing" department, we would use the following call to Mutator:
As for retrieval of a SuperColumn, the simple case is almost identical to retrieval of a standard Column. The only difference is the Query implementation used.