incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Williams <dri...@gmail.com>
Subject Re: Best design in Cassandra
Date Tue, 02 Feb 2010 15:45:09 GMT
On Tue, Feb 2, 2010 at 9:27 AM, Erik Holstad <erikholstad@gmail.com> wrote:
>
> A supercolumn can still only compare subcolumns in a single way.
>>
> Yeah, I know that, but you can have a super column per sort order without
> having to restart the cluster.
>

You get a CompareWith for the columns, and a CompareSubcolumnsWith for
subcolumns.  If you need more column types to get different sort orders, you
need another ColumnFamily.

-Brandon

Mime
View raw message