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: super_column.name?
Date Thu, 17 Mar 2011 13:09:07 GMT
I see super-column-0 in there.  Not sure what the question is.

On Wed, Mar 16, 2011 at 10:20 PM, Michael Fortin <mikee@m410.us> wrote:
> Hi,
>
> I've been working on a scala based api for cassandra.  I've built it directly on top
of thrift.  I'm having a problem getting a slice of a superColumn.  When I get a columnOrSuperColumn
back, and call 'cos.super_column.name' and deserialize the bytes I'm not getting the expected
output.
>
> Here's whats in cassandra
> -------------------
> RowKey: key
> => (super_column=super-col-0,
>     (column=column, value=76616c756530, timestamp=1300330948240)
>     (column=column1, value=76616c756530, timestamp=1300330948244))
> ….
>
> and this is the deserialized string
>
> ?       get_slice                    super-col-0              column
      value0
>     .?æ?        column1       value0
>     .?æ?            super-col-1              column       value1
>     .?æ?        column1       value1
>     .?æ?            super-col-2              column       value2
>     .?æ?        column1       value2
>     .?æ?            super-col-3              column       value3
>     .?æ?        column1       value3
>     .?æ?
>
> I would expect
> super-col-0
>
> Any ideas on what I'm doing wrong?
>
> Thanks,
> Mike



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

Mime
View raw message