Return-Path: Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: (qmail 64016 invoked from network); 25 Mar 2010 15:34:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Mar 2010 15:34:57 -0000 Received: (qmail 44563 invoked by uid 500); 25 Mar 2010 15:34:57 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 44550 invoked by uid 500); 25 Mar 2010 15:34:57 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 44542 invoked by uid 99); 25 Mar 2010 15:34:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 15:34:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 15:34:51 +0000 Received: by wyb29 with SMTP id 29so3524518wyb.31 for ; Thu, 25 Mar 2010 08:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=n9EVJsWcpX3WAWk1FFUzH9bLktM+5lZeBPqSIWDhHxk=; b=llNiSovBDYjCNMzn9XJCZw3sKbxXmvwo4yF0lwUlfEoWzbLuV/f8gcDsoNHfoJlAym wVNOZFyBkIDNIgu07nKWHs38bj5U/tr34W+jgmDveXWf9zjeZC6Slyl+e7UOCffsw/6l xDhgkvYa86KVWaHPJgaaW611EWYhfSa8WYAwk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=sMfZXQ2FNmAvCnjtuxSBe0Vfb56ZE+xyO30NlbyAP5hAbES+ALk0AHqpvVsyF9BVOh XU335Kd9nEO6nSeMxqvhjQzFr5P3kGF8VcErLUWJlQAa9dgaJVm0YRJDCGRUnnUO9Gat FvPdRfDeQgKUFFPGts56ACznxyvN9S+Qh8RuM= MIME-Version: 1.0 Received: by 10.216.88.143 with SMTP id a15mr2458826wef.6.1269531269577; Thu, 25 Mar 2010 08:34:29 -0700 (PDT) In-Reply-To: <47d8831a1003250821n11bacf69m1432bda53f795081@mail.gmail.com> References: <47d8831a1003250821n11bacf69m1432bda53f795081@mail.gmail.com> From: Jonathan Ellis Date: Thu, 25 Mar 2010 10:34:08 -0500 Message-ID: Subject: Re: Can we do a more precise query in Cassandra ? To: dev@cassandra.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This will have to wait until we have secondary index support, at the least. (https://issues.apache.org/jira/browse/CASSANDRA-749) 2010/3/25 =E9=83=AD=E9=B9=8F : > Hi All=EF=BC=9A > > I am thinking a more precise query in Cassandra: > > Could we hava a query API like this : > > List> get_slice_condition(String keyspace, List > keys, ColumnParent column_parent, Map > queryConditions, int consistency_level) > > So we could use this API to query more precise data like age column's val= ue > must larger than 30 ;) > > > > -- > Regards > Peng Guo >