cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dop Sun" <su...@dopsun.com>
Subject FW: Is there any way to enable the multiple super column names at a time?
Date Mon, 12 Apr 2010 11:37:04 GMT
I guess I'm putting in the wrong email list. Sorry for this.

My question in short is: whether I can get a certain range of super column
in a single query?

I have checked the following APIs, but looks they don't work for this:
get: for a single column
get_slice: contains column_parent as parameter, means a single CF + SC
multiget_slice: contains column_parent as parameter, means a single CF + SC
get_range_slices: contains column_parent as parameter, means a single CF +
SC

Regards,
Dop

-----Original Message-----
From: Dop Sun [mailto:sunht@dopsun.com] 
Sent: Monday, April 12, 2010 6:41 AM
To: dev@cassandra.apache.org
Subject: Is there any way to enable the multiple super column names at a
time?

Hi,

I don't know whether I have missed anything here, but can we get columns for
multiple Super Column Names at a time, like what we can do for Keys (by key
range or list of keys) or columns (by column range or column list)?

While I'm doing the work with Cassandra, I usually think the structure like
this:

KS - CF - Key - Super Column - Column

But looks like I should change it to something like:

KS - CF - Super Column - Key - Column

Since CF-SuperColumn are combined within a single parameter: ColumnParent,
and they are usually unique (single) in a query.

Regards,
Dop





Mime
View raw message