Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 43821 invoked from network); 23 Feb 2011 14:20:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2011 14:20:10 -0000 Received: (qmail 70304 invoked by uid 500); 23 Feb 2011 14:20:08 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 70103 invoked by uid 500); 23 Feb 2011 14:20:04 -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 70088 invoked by uid 99); 23 Feb 2011 14:20:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 14:20:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_QUOTING X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of roshandawrani@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 14:19:58 +0000 Received: by wwb39 with SMTP id 39so1506016wwb.25 for ; Wed, 23 Feb 2011 06:19:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=uk4E6EKK8tocQGJVgGxtIyv2tWYCM01l+sSW2y9fmvE=; b=qkRjzBiUIPCqn2Qo1Bmr11AJYlvG+yCmm+h/Dq+GOxcztU4PguZ/dzlqd4zmEFxLuL euEbt3DdzcogKmojGacj7OJ8gNLevl93wMjWA3atfuobNGOS0mrnfAUxA6hkBvikKG3b i3DSx3bYi8sEulpamlbdUIbTkc6ZuMMsIR7Q0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rQAidFu4pjhX6QpSPR8TSKBU59Lruog1rhk7wXBofV5UKkNn8e0PdYATwJRok7J5T9 vbc9fc+zGQrNdmwXSTraZL2queaJscizTyuoVco8O5JMgHEo48KJAEeBjNsIg7OIR19U l+qr/fsd1K44EoHQ+gfHQT9XO0JUw5GEAfy58= MIME-Version: 1.0 Received: by 10.216.158.21 with SMTP id p21mr4338981wek.99.1298470776645; Wed, 23 Feb 2011 06:19:36 -0800 (PST) Received: by 10.216.164.145 with HTTP; Wed, 23 Feb 2011 06:19:36 -0800 (PST) In-Reply-To: References: Date: Wed, 23 Feb 2011 19:49:36 +0530 Message-ID: Subject: Re: Is it possible to get list of row keys? From: Roshan Dawrani To: user@cassandra.apache.org Cc: Ching-Cheng Chen , Norman Maurer Content-Type: multipart/alternative; boundary=0016364ef99464a736049cf3c988 --0016364ef99464a736049cf3c988 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Feb 23, 2011 at 7:17 PM, Ching-Cheng Chen wrote: > Actually, if you want to get ALL keys, I believe you can still use > RangeSliceQuery with RP. > > Just use setKeys("","") as first batch call. > > Then use the last key from previous batch as startKey for next batch. > Beware that since startKey is inclusive, so you'd need to ignore first key > from now on. > > Keep going until you finish all batches. You will know you'd need to stop > when setKeys(key_xyz,"") return you only one key. > This is what I meant to suggest when I earlier said "So, if you want all, you will need to keep paging forward and collecting the keys." :-) --0016364ef99464a736049cf3c988 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Wed, Feb 23, 2011 at 7:17 PM, Ching-Cheng Che= n <cchen@= evidentsoftware.com> wrote: