Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 30221 invoked from network); 12 Jan 2011 20:13:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jan 2011 20:13:15 -0000 Received: (qmail 305 invoked by uid 500); 12 Jan 2011 20:13:13 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 256 invoked by uid 500); 12 Jan 2011 20:13:12 -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 248 invoked by uid 99); 12 Jan 2011 20:13:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 20:13:12 +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: 76.96.59.211 is neither permitted nor denied by domain of mikee@m410.us) Received: from [76.96.59.211] (HELO QMTA11.westchester.pa.mail.comcast.net) (76.96.59.211) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 20:13:02 +0000 Received: from omta04.westchester.pa.mail.comcast.net ([76.96.62.35]) by QMTA11.westchester.pa.mail.comcast.net with comcast id ufd21f0040ldTLk5BkCgcm; Wed, 12 Jan 2011 20:12:40 +0000 Received: from [192.168.0.12] ([69.180.25.179]) by omta04.westchester.pa.mail.comcast.net with comcast id ukCf1f00Q3rr8PZ3QkCgLj; Wed, 12 Jan 2011 20:12:40 +0000 From: Michael Fortin Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: best way to do a count Date: Wed, 12 Jan 2011 15:12:38 -0500 Message-Id: To: user@cassandra.apache.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org I was working on a schema that looks something like this: HitFamily [UUID 1] ['user-agent'] =3D '=85' HitFamily [UUID 1] ['referer'] =3D '=85' HitFamily [UUID 1] ['client_id'] =3D Long =85 HitCountFamily [client_id as Long] [Current Date as Long] =3D UUID1 What I'd like to do is count the columns between a date rage without = returning them. Is it possible to get a count of rows in a slice? = Looking at hector and thrift there doesn't seem to be a way to do that. = How have other handled this? Thanks,