Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 46441 invoked from network); 29 Apr 2010 15:19:35 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Apr 2010 15:19:35 -0000 Received: (qmail 48618 invoked by uid 500); 29 Apr 2010 15:19:35 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 48603 invoked by uid 500); 29 Apr 2010 15:19:35 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 48590 invoked by uid 99); 29 Apr 2010 15:19:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 15:19:35 +0000 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=AWL,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.219.225] (HELO mail-ew0-f225.google.com) (209.85.219.225) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 15:19:28 +0000 Received: by ewy25 with SMTP id 25so5910097ewy.27 for ; Thu, 29 Apr 2010 08:19:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.102.237.36 with SMTP id k36mr5257334muh.117.1272554346311; Thu, 29 Apr 2010 08:19:06 -0700 (PDT) Received: by 10.102.228.18 with HTTP; Thu, 29 Apr 2010 08:19:06 -0700 (PDT) X-Originating-IP: [80.179.102.198] In-Reply-To: <3E031206-FA10-444F-ABE3-98371EADA853@gmail.com> References: <3E031206-FA10-444F-ABE3-98371EADA853@gmail.com> Date: Thu, 29 Apr 2010 18:19:06 +0300 Message-ID: Subject: Re: Basic Architecture Question From: David Boxenhorn To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001636426783c4f176048561a5ab --001636426783c4f176048561a5ab Content-Type: text/plain; charset=ISO-8859-1 So now we can do any kind of range queries, not just "for getting all keys" as Jesse said? On Thu, Apr 29, 2010 at 6:04 PM, Roger Schildmeijer wrote: > take a look at get_range_slices and start with "". > then invoke get_range_slices again, but this time use the last key as the > start key > > // Roger Schildmeijer > > On 29 apr 2010, at 16.28em, David Boxenhorn wrote: > > How do I do that??? > > On Thu, Apr 29, 2010 at 4:31 PM, Jesse McConnell < > jesse.mcconnell@gmail.com> wrote: > >> apparently there is now range query support for getting all keys using the >> RP... >> >> cheers, >> jesse >> >> -- >> jesse mcconnell >> jesse.mcconnell@gmail.com >> >> >> >> On Thu, Apr 29, 2010 at 08:16, David Boxenhorn wrote: >> > We want to store objects in Cassandra. In general, the mapping is quite >> > easy. But for some kinds of objects, we want to be able to read all of >> them >> > into memory. >> > >> > We want to use random partitioning, which means that we can't do a range >> > query over keys (is this right?). Is there any way to get ALL the keys >> > directly (order is not important)? Or do I need to define a separate >> column >> > family, and save all the keys in a single column of that family? Or... >> > something else? >> > >> > > > --001636426783c4f176048561a5ab Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
So now we can do any kind of range queries, not just "= ;for getting all keys" as Jesse said?

On Thu, Apr 29, 2010 at 6:04 PM, Roger Schildmeijer <= ;schildmeijer@gmail.com> wrote:
take a look at get_range_s= lices and=A0start with "".=A0
then invoke get_range_slices again, but this ti= me use the last key as the start key

<= /div>
// Roger Schildmei= jer

On 29 apr= 2010, at 16.28em, David Boxenhorn wrote:

How do I do that???

O= n Thu, Apr 29, 2010 at 4:31 PM, Jesse McConnell <jesse.mcconnell@g= mail.com> wrote:
apparently there = is now range query support for getting all keys using the RP...

cheers,
jesse

--
jesse mcconnell
jesse.mcconn= ell@gmail.com



On Thu, Apr 29, 2010 at 08:16, David Boxenhorn <david@lookin2.com> wrote:
> We want to store objects in Cassandra. In general, the mapping is quit= e
> easy. But for some kinds of objects, we want to be able to read all of= them
> into memory.
>
> We want to use random partitioning, which means that we can't do a= range
> query over keys (is this right?). Is there any way to get ALL the keys=
> directly (order is not important)? Or do I need to define a separate c= olumn
> family, and save all the keys in a single column of that family? Or...=
> something else?
>



--001636426783c4f176048561a5ab--