or set the end key to "com.googlf"
On 12 January 2011 02:49, Aaron Morton wrote:
> If you were using OPP and get_range_slices then set the start_key to be
> "com.google" and the end_key to be "". Get is slices of say 1,000 (use the
> last key read as the next start_ket) and when you see the firs
I have a follow on question on this.
I have a super column family like this:
I store some events keyed by a subscriber id, and for each such "row",
I have a number of super columns which are keyed by an event time
stamp. For example:
subscriber1 {
ts11 { some columns}
ts12 { some col
If you were using OPP and get_range_slices then set the start_key to be "com.google" and the end_key to be "". Get is slices of say 1,000 (use the last key read as the next start_ket) and when you see the first key that does not start with com.google top making calls.If you move the data from rows
On Wed, Jan 12, 2011 at 7:41 AM, Koert Kuipers <
koert.kuip...@diamondnotch.com> wrote:
> 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?
>
t: 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
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
wrote:
> I would like to do a get_range_slices for all keys (which are strings) that
> start
That type of operation only works (directly) when using an
OrderPreservingPartitioner. There are a lot of downsides to OPP:
http://ria101.wordpress.com/2010/02/22/cassandra-randompartitioner-vs-orderpreservingpartitioner/
You can instead order your keys alphabetically as column names in a row (o