Re: Row iteration over indexed clause

2012-03-14 Thread Tyler Hobbs
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#

Re: Row iteration over indexed clause

2012-03-14 Thread aaron morton
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:

Re: Row iteration over indexed clause

2012-03-13 Thread Vivek Mishra
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

Re: Row iteration over indexed clause

2012-03-13 Thread Shimi Kiviti
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 >