The supercolumn parameter to ColumnParent is optional precisely so you
can do this.  http://wiki.apache.org/cassandra/API

On Mon, Apr 12, 2010 at 6:37 AM, Dop Sun <su...@dopsun.com> wrote:
> 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:su...@dopsun.com]
> Sent: Monday, April 12, 2010 6:41 AM
> To: d...@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
>
>
>
>
>

Reply via email to