incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: How to read rows with composite keys in Hector?
Date Mon, 25 Feb 2013 02:14:49 GMT
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 <mateus.ffreitas@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.
> 


Mime
View raw message