You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Jonathan Ellis <jb...@gmail.com> on 2010/05/22 13:51:15 UTC
Re: super column
(a) No
(b) you should restrict it to < 2GB of data in 0.6
On Sat, May 22, 2010 at 3:55 AM, huajun qi <qi...@gmail.com> wrote:
> Can the value of a column under a super column be a super column?
>
> For examples:
>
> sc={
> name:"name",
> value:{
> {name:"First Name", value:"John"}
> {name:"Last Name", value:"LBJ"}
> }
> }
>
> this is a super column above, can I add a super column below to it's value?
>
> info={name:"info",
> value:{
> "age":"20",
> "gender":"M"
> }
> }
>
> Can I add the super column to the top one to make this:
>
> sc={
> name:"name",
> value:{
> {name:"First Name", value:"John"}
> {name:"Last Name", value:"LBJ"}
> {name:"info",value:{name:"info",
> value:{
> "age":"20",
> "gender":"M"
> }
> }}
> }
> }
>
>
> And I have another question: should I restrict the number of columns in a
> row?
>
> --
> Location:
>
--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com
Re: super column
Posted by huajun qi <qi...@gmail.com>.
Thank you! Is there a way to store that kind of data?