Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
CQL3 - collections
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Roshni Rajagopal  
View profile  
 More options Sep 20 2012, 1:14 am
From: Roshni Rajagopal <roshni_rajago...@hotmail.com>
Date: Thu, 20 Sep 2012 10:43:36 +0530
Local: Thurs, Sep 20 2012 1:13 am
Subject: CQL3 - collections

Hi,
 CQL3, has collections support as described in this linkhttp://www.datastax.com/dev/blog/cql3_collections
So looks like when you have a column called email and you could store 1 value called a...@xyz.com, now you can store a list.would it be possible to store a name value pair, like column name is Item Id and value is a collection with 2 elements in each row like {{'name' , 'apple'}, {'Descr' , 'Granny Smith'}, {'Qty','3'} }
or would we need to have a column named Item Id and value is {'apple', 'granny smith', '3'}. and the application needs to figure out that 1st element is name, second is descr etc
Also can you store different data types in each row of the list or do all elements need to be of the same type?
Im guessing we cant do both- but can anyone confirm.

Regards,Roshni                                    


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sylvain Lebresne  
View profile  
 More options Sep 20 2012, 5:07 am
From: Sylvain Lebresne <sylv...@datastax.com>
Date: Thu, 20 Sep 2012 11:06:45 +0200
Local: Thurs, Sep 20 2012 5:06 am
Subject: Re: CQL3 - collections
I wrote an answer on the blog post
(http://www.datastax.com/dev/blog/cql3_collections#comment-127093).

--
Sylvain

On Thu, Sep 20, 2012 at 7:13 AM, Roshni Rajagopal


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »