Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 997707783 for ; Mon, 26 Sep 2011 14:47:04 +0000 (UTC) Received: (qmail 77735 invoked by uid 500); 26 Sep 2011 14:47:02 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 77707 invoked by uid 500); 26 Sep 2011 14:47:02 -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 77699 invoked by uid 99); 26 Sep 2011 14:47:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 14:47:02 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hodgson_sam@hotmail.com designates 157.55.2.40 as permitted sender) Received: from [157.55.2.40] (HELO dub0-omc3-s31.dub0.hotmail.com) (157.55.2.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 14:46:52 +0000 Received: from DUB114-W39 ([157.55.2.7]) by dub0-omc3-s31.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 26 Sep 2011 07:46:32 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_d8082126-df6c-4bf4-8dfd-b5ce501411c5_" X-Originating-IP: [92.233.198.180] From: Sam Hodgson To: Subject: SCF column comparator Date: Mon, 26 Sep 2011 14:46:31 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 26 Sep 2011 14:46:32.0567 (UTC) FILETIME=[15275870:01CC7C5B] X-Virus-Checked: Checked by ClamAV on apache.org --_d8082126-df6c-4bf4-8dfd-b5ce501411c5_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all=2C Im trying to create a Threads SCF that will store message thread id's in da= te order and i want to store the threadID =3D> subject as the supercolumns.= Please correct me if im incorrect but my understanding of a super column = family is as follows: Category: //row key Timestamp: //Column ThreadID =3D> Thread Subject //Supercolumn My question is how do I ensure the timestamp column is ordered chronologica= lly as the documentation for the cassandra-cli specify's that the comparato= r type is applied to the supercolumns. Also im new to Cassandra so any adv= ice on alternate schemas is welcome=2C not sure if this would be better to = split up into multiple CF's or somehow use an index. Thanks in advance Sam = --_d8082126-df6c-4bf4-8dfd-b5ce501411c5_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all=2C

Im trying to create a Threads SCF that will store message = thread id's in date order and i want to store the threadID =3D>=3B subjec= t as the supercolumns. =3B Please correct me if im incorrect but my und= erstanding of a super column family is as follows:

Category: //row k= ey
 =3B =3B Timestamp: //Column
 =3B =3B =3B = =3B =3B ThreadID =3D>=3B Thread Subject //Supercolumn

My quest= ion is how do I ensure the timestamp column is ordered chronologically as t= he documentation for the cassandra-cli specify's that the comparator type i= s applied to the supercolumns. =3B Also im new to Cassandra so any advi= ce on alternate schemas is welcome=2C not sure if this would be better to s= plit up into multiple CF's or somehow use an index.

Thanks in advanc= e

Sam
= --_d8082126-df6c-4bf4-8dfd-b5ce501411c5_--