Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 4311 invoked from network); 5 Jun 2010 00:18:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Jun 2010 00:18:58 -0000 Received: (qmail 72251 invoked by uid 500); 5 Jun 2010 00:18:57 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 72223 invoked by uid 500); 5 Jun 2010 00:18:57 -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 72213 invoked by uid 99); 5 Jun 2010 00:18:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jun 2010 00:18:57 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jun 2010 00:18:51 +0000 Received: by vws10 with SMTP id 10so338910vws.31 for ; Fri, 04 Jun 2010 17:18:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.187.71 with SMTP id cv7mr2917404qcb.81.1275697109805; Fri, 04 Jun 2010 17:18:29 -0700 (PDT) Received: by 10.229.46.195 with HTTP; Fri, 4 Jun 2010 17:18:29 -0700 (PDT) In-Reply-To: <-8466204221016033528@unknownmsgid> References: <-8466204221016033528@unknownmsgid> Date: Fri, 4 Jun 2010 17:18:29 -0700 Message-ID: Subject: Re: Row Time range From: Benjamin Black To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org That's entirely up to you. If you make row keys that are time ordered and include the time as a prefix in the key, you just use get_range() as usual, start now, end 7pm yesterday, count of 10. On Fri, Jun 4, 2010 at 2:23 PM, Nicholas Sun wrote: > Is there a mechanism to select a time range within a row range query?=A0 = Is > this planned?=A0 For example, return to me the last 10 post starting at 7= :00pm > yesterday? > > > > Nick