incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Is SuperColumn necessary?
Date Wed, 05 May 2010 21:04:44 GMT
Very interesting, thanks!

On Wed, May 5, 2010 at 1:31 PM, Ed Anuff <ed@anuff.com> wrote:
> Follow-up from last weeks discussion, I've been playing around with a simple
> column comparator for composite column names that I put up on github.  I'd
> be interested to hear what people think of this approach.
>
> http://github.com/edanuff/CassandraCompositeType
>
> Ed
>
> On Wed, Apr 28, 2010 at 12:52 PM, Ed Anuff <ed@anuff.com> wrote:
>>
>> It might make sense to create a CompositeType subclass of AbstractType for
>> the purpose of constructing and comparing these types of "composite" column
>> names so that if you could more easily do that sort of thing rather than
>> having to concatenate into one big string.
>>
>> On Wed, Apr 28, 2010 at 10:25 AM, Mike Malone <mike@simplegeo.com> wrote:
>>>
>>> The only thing SuperColumns appear to buy you (as someone pointed out to
>>> me at the Cassandra meetup - I think it was Eric Florenzano) is that you can
>>> use different comparator types for the Super/SubColumns, I guess..? But you
>>> should be able to do the same thing by creating your own Column comparator.
>>> I guess my point is that SuperColumns are mostly a convenience mechanism, as
>>> far as I can tell.
>>> Mike
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Mime
View raw message