Ok I see get_range_slice is really only useful for paging with RP... So if I were using OPP (which I am not) and I wanted all keys starting with "com.google", what should my start_key and end_key be?
-----Original Message----- From: Jonathan Ellis [mailto:jbel...@gmail.com] Sent: Tuesday, January 11, 2011 9:02 PM To: user Subject: Re: how to do a get_range_slices where all keys start with same string http://wiki.apache.org/cassandra/FAQ#range_rp also, start==end==x means "give me back exactly row x, if it exists." IF you were using OPP you'd need end=y. On Tue, Jan 11, 2011 at 7:45 PM, Koert Kuipers <koert.kuip...@diamondnotch.com> wrote: > I would like to do a get_range_slices for all keys (which are strings) that > start with the same substring x (for example "com.google"). How do I do > that? > > start_key = x abd end_key = x doesn't seem to do the job... > > thanks koert > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com