Are you writing a new client for a language that doesn't have good
drivers? If not, most of the existing clients already break up the query
into chunks, I think.
The pycassa implementation of this might be a useful reference:
https://github.com/pycassa/pycassa/blob/master/pycassa/columnfamily.py#
If you want 100 results per call, ask for 101. Use the first 100, when you get
to the 101'st do not examine it's data. Instead use it's key as the start to
get the next 101.
Cheers
-
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 14/03/2012, at 2:
Thanks.
*Attribute*
*Type*
*Default*
*Required*
*Description*
expressions
list
n/a
Y
The list of IndexExpression objects which must contain one EQ
IndexOperator among
the expressions
start_key
binary
n/a
Y
Start the index query at the specified key - can be set to '', i.e., an
empty
Yes.use get_indexed_slices (http://wiki.apache.org/cassandra/API)
On Tue, Mar 13, 2012 at 2:12 PM, Vivek Mishra wrote:
> Hi,
> Is it possible to iterate and fetch in chunks using thrift API by querying
> using "secondary indexes"?
>
> -Vivek
>