From user-return-24442-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Tue Feb 28 16:41:49 2012 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 447219093 for ; Tue, 28 Feb 2012 16:41:49 +0000 (UTC) Received: (qmail 39489 invoked by uid 500); 28 Feb 2012 16:41:46 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 39468 invoked by uid 500); 28 Feb 2012 16:41:46 -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 39456 invoked by uid 99); 28 Feb 2012 16:41:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2012 16:41:46 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.86.89.61] (HELO elasmtp-galgo.atl.sa.earthlink.net) (209.86.89.61) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2012 16:41:39 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=UrucDkMJrmb8ddxw2+m50afk1vGpLdBPEGf0IwhLtbuu58rQFX13KALymHD3dsf6; h=Received:From:Mime-Version:Content-Type:Subject:Date:In-Reply-To:To:References:Message-Id:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [208.124.48.188] (helo=[192.168.1.2]) by elasmtp-galgo.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1S2Q73-0007EA-OD for user@cassandra.apache.org; Tue, 28 Feb 2012 11:41:17 -0500 From: Chris Gerken Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-12--47241282 Subject: Re: CompositeType/DynamicCompositeType for Row Key Date: Tue, 28 Feb 2012 10:41:16 -0600 In-Reply-To: To: user@cassandra.apache.org References: Message-Id: <41455AB5-CC61-4BD6-9D0B-36F2CF700E95@mindspring.com> X-Mailer: Apple Mail (2.1084) X-ELNK-Trace: 89ce5298aa6460db6a4d017a94a0a954416dc04816f3191cbcfd778824a6b08c0d525e6e23456314c88340136506db00350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 208.124.48.188 X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-12--47241282 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Phil, That's the problem with examples :) Row keys can be composite values. That works just fine. Was there = something in particular you were trying to do? - Chris Chris Gerken chrisgerken@mindspring.com 512.587.5261 http://www.linkedin.com/in/chgerken On Feb 28, 2012, at 10:25 AM, Philip Shon wrote: > I have not found any examples of utilizing a CompositeType of = DynamicCompositeType as a row key. Is doing this frowned upon? All the = examples I've seen have been using a CompositeType only for Column names = (or values). >=20 > My particular use case involves having the two components in the key = being a Date (no time component) and an Integer value. >=20 > Thanks, >=20 > Phil >=20 >=20 --Apple-Mail-12--47241282 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On Feb 28, 2012, at 10:25 AM, Philip Shon wrote:

I have not = found any examples of utilizing a CompositeType of DynamicCompositeType = as a row key.  Is doing this frowned upon? All the examples I've = seen have been using a CompositeType only for Column names (or = values).

My particular use case involves having the two components = in the key being a Date (no time component) and an Integer = value.

Thanks,

Phil



= --Apple-Mail-12--47241282--