cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: How to obtain a row with column map
Date Sun, 20 Dec 2009 14:54:20 GMT
Right, subcolumn order is important, and Thrift does not support
deserializing to a SortedMap directly, so if that's the interface you
want you will have to put them into one yourself.

On Sun, Dec 20, 2009 at 7:46 AM, Jiri Jakes <jiri.jakes@gmail.com> wrote:
> On Sat, 19 Dec 2009 15:59:54 -0600
> Jonathan Ellis <jbellis@gmail.com> wrote:
>
>> Use get_slice with a columnfamily parent, and you will get back a list
>> of supercolumns, including their subcolumns.
>>
>
> Yes, the problem is that I cannot get a specified subcolumn of a
> supercolumn at once. Calling the supercolumn's getColumns() returns a
> _list_ of subcolumns so I have to iterate through them all and pick up
> the one I am looking for.
>
> I wonder if I am missing something.
>
> Jiri
>

Mime
View raw message