You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Mateus Ferreira e Freitas <ma...@hotmail.com> on 2013/02/24 16:47:36 UTC
How to read rows with composite keys in Hector?
I still don't understand how should I code to make a RangedSliceQuery with a composite key. The other questions around aren't too generic.The primary key in my table is PRIMARY KEY (Year int, Month int, DayofMonth int, UniqueCarrier varchar, FlightNum int)) and there are 20 other columns. How should I create the Composite variable ? How should I set the start and the end? My objective is to paginate through the table using RangedSliceQuery.Thanks.
Re: How to read rows with composite keys in Hector?
Posted by aaron morton <aa...@thelastpickle.com>.
For hector specific questions you may have bette luck at http://groups.google.com/group/hector-users
Cheers
-----------------
Aaron Morton
Freelance Cassandra Developer
New Zealand
@aaronmorton
http://www.thelastpickle.com
On 25/02/2013, at 4:47 AM, Mateus Ferreira e Freitas <ma...@hotmail.com> wrote:
> I still don't understand how should I code to make a RangedSliceQuery with a composite key. The other questions around aren't too generic.
>
> The primary key in my table is PRIMARY KEY (Year int, Month int, DayofMonth int, UniqueCarrier varchar, FlightNum int)) and there are 20 other columns.
>
> How should I create the Composite variable ? How should I set the start and the end? My objective is to paginate through the table using RangedSliceQuery.
>
> Thanks.
>