Samal,

Thanks buddy for interpreting. Now suppose i am inserting data in a column family using this data model dynamically, as a result columnNames will be dynamic. Now consider there is a entry for employee1 named "Smith", and i want to retrieve that value?

Regards,
Abhijit  

On Thu, May 17, 2012 at 12:03 PM, samal <samalgorai@gmail.com> wrote:
It is like using your super column inside columns name.

empKey{
  employee1+name:XXXXXX,
  employee1+addr:XXXXX,
  employee2+name:XXXXX,
  employee2+addr:XXXXX
}

Here all of your employee details are attached to one domain i.e. all of employee1 details will be "employee1+[anytihng.........n numbers of column]"

comaprator=CompositeType(UTF8Type1,UTF8Type2,.......,n)

/Samal

On Thu, May 17, 2012 at 10:40 AM, Abhijit Chanda <abhijit.chanda0@gmail.com> wrote:
Aaron,

Actually Aaron i am looking for a scenario on super columns being replaced by composite column.
Say this is a data model using super column
rowKey{
          superKey1 {
                                Name,
                                Address,
                                City,.....
                          }


Actually i am having confusion how exactly the data model will look if we use composite column instead of super column.

Thanks,
Abhijit



On Wed, May 16, 2012 at 2:56 PM, aaron morton <aaron@thelastpickle.com> wrote:
Abhijit, 
Can you explain the data model a bit more.

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton

On 15/05/2012, at 10:32 PM, samal wrote:

It is just column with JSON value

On Tue, May 15, 2012 at 4:00 PM, samal <samalgorai@gmail.com> wrote:
I have not used CC but yes you can.
Below is not composite column. It is not not column with JSON hash value. Column value can be anything you like.
date inside value are not indexed.


On Tue, May 15, 2012 at 9:27 AM, Abhijit Chanda <abhijit.chanda0@gmail.com> wrote:
Is it possible to create this data model with the help of composite column.
User_Keys_By_Last_Name = {
  "Engineering" : {"anderson", 1 : "ac1263", "anderson", 2 : "724f02", ... }, 
  "Sales" : { "adams", 1 : "b32704", "alden", 1 : "1553bd", ... }, 
}
I am using Astyanax. Please suggest...
--
Abhijit Chanda
Software Developer
VeHere Interactive Pvt. Ltd.
+91-9748888395







--
Abhijit Chanda
Software Developer
VeHere Interactive Pvt. Ltd.
+91-9748888395





--
Abhijit Chanda
Software Developer
VeHere Interactive Pvt. Ltd.
+91-9748888395