From user-return-29999-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Fri Nov 9 05:38:51 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 6A0FBDC4A for ; Fri, 9 Nov 2012 05:38:51 +0000 (UTC) Received: (qmail 65166 invoked by uid 500); 9 Nov 2012 05:38:49 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 65127 invoked by uid 500); 9 Nov 2012 05:38:48 -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 65112 invoked by uid 99); 9 Nov 2012 05:38:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 05:38:48 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLYTO_END_DIGIT,HTML_FONT_FACE_BAD,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.139.213.161] (HELO nm24-vm0.bullet.mail.bf1.yahoo.com) (98.139.213.161) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 05:38:36 +0000 Received: from [98.139.212.146] by nm24.bullet.mail.bf1.yahoo.com with NNFMP; 09 Nov 2012 05:38:15 -0000 Received: from [98.139.212.239] by tm3.bullet.mail.bf1.yahoo.com with NNFMP; 09 Nov 2012 05:38:15 -0000 Received: from [127.0.0.1] by omp1048.mail.bf1.yahoo.com with NNFMP; 09 Nov 2012 05:38:15 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 796519.60779.bm@omp1048.mail.bf1.yahoo.com Received: (qmail 15590 invoked by uid 60001); 9 Nov 2012 05:38:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1352439495; bh=G73V5opIBhVPlanSseoNjv6HSlfdzkoAU6d9rqvRb6Y=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=NW2/ZbH/0oHGVvCOaYVAf1Lb7PbKjuKyIPFc5dOcc8/EZe24hA5bwNQk1AjUvVgjbFOKdwitiRqnW0eBnDiDLeOa5mJDr7qrM5I0fZTRm9EOffIizDWhwTpm/M9jIsplA7iyEVlU4PCD0O5KO45/Ig9bb263hJAbdMSaaZ+SNVo= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Dl00BCfVpv/KxejSwIuZcwJyikk3tkeYEmH9ypAoxw4Qik7dkMbk2iieG8pA/ZMwJBQwjDmg7KzrWeEFOUF0P+k6i7rhVW3USd+u2qCot/W5zXVPxYDqU6nJF+HuNrM30DAxRrwN2Wht48lqlmLnShitaADJlrGlisSYDvL3Zcg=; X-YMail-OSG: TgQrCPwVM1m0ycAHGxT_WTuT64XJNvbZXKx88KgdZNkbx0U YO8tju__xD1yZ7swKRfrAnPL22wVsC6eX2E6OFuGwK2xe9Wp6WYPgDCdUeUu uTm6EFXBbqgkoBGlsb_Whncu6yV9DZJWplKXiupHJkEy.UQexcIvZZ6sNaj. Wsvb.eBW4YfxgXBfnJh3NTlVA5bX2hecwQmbFVo9hcNjYFCSnDRtPBBKKS_7 Yqr2vxTL.mktGOaIO4bmpWp9mSV31E_XrcbXruVDPuVdpI8aYbYinw1kanHW Z5bFkWkNPzsu4LTdGmcFrlcIzhSUG3ViP3Z7Iwvqfe7DABL.Aref1RmMNFwQ jgSmCDic.gYg7hJ79Fzn68KCj8Tin1hrqifZkyma1amSHsFvRnwr2EzCcDOj 0dcVopEHk1u1gMb4W_6bwafDqavWsVqmCW5hd4fcO5y9ggEFa0bQEEcCV1Nt pANuvUJDdCoho2SZh8lc7V4sXs3_qI_jouLFA.87h8cvozbJYWKTCVul37zg - Received: from [98.210.98.24] by web160905.mail.bf1.yahoo.com via HTTP; Thu, 08 Nov 2012 21:38:15 PST X-Rocket-MIMEInfo: 001.001,QW55IHRob3VnaHRzPwoKVGhhbmtzLgotV2VpCgoKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwogRnJvbTogV2VpIFpodSA8d3oxOTc1QHlhaG9vLmNvbT4KVG86IENhc3NhbmRyIHVzZXJncm91cCA8dXNlckBjYXNzYW5kcmEuYXBhY2hlLm9yZz4gClNlbnQ6IFdlZG5lc2RheSwgTm92ZW1iZXIgNywgMjAxMiAxMjo0NyBQTQpTdWJqZWN0OiBjb21wb3NpdGUgY29sdW1uIHZhbGlkYXRpb25fY2xhc3MgcXVlc3Rpb24KIAoKSGkgQWxsLApJIGFtIHRyeWluZyB0byBkZXNpZ24gbXkgc2NoZW1hIHUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.123.460 References: <1352321266.96036.YahooMailNeo@web160905.mail.bf1.yahoo.com> Message-ID: <1352439495.14470.YahooMailNeo@web160905.mail.bf1.yahoo.com> Date: Thu, 8 Nov 2012 21:38:15 -0800 (PST) From: Wei Zhu Reply-To: Wei Zhu Subject: Re: composite column validation_class question To: Cassandr usergroup In-Reply-To: <1352321266.96036.YahooMailNeo@web160905.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1879531-331272621-1352439495=:14470" X-Virus-Checked: Checked by ClamAV on apache.org ---1879531-331272621-1352439495=:14470 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Any thoughts?=0A=0AThanks.=0A-Wei=0A=0A=0A=0A=0A___________________________= _____=0A From: Wei Zhu =0ATo: Cassandr usergroup =0ASent: Wednesday, November 7, 2012 12:47 PM=0ASubject= : composite column validation_class question=0A =0A=0AHi All,=0AI am trying= to design my schema using composite column. One thing I am a bit confused = is how to define validation_class for the composite column, or is there a w= ay to define it?=0Afor the composite column, I might insert different value= based on the column name, for example=0AI will insert date for column "cre= ated":=A0=0A=0Aset user[1]['7:1:100:created'] =3D 1351728000;=A0=0A=0Aand i= nsert String for description=0A=0Aset user[1]['7:1:100:desc'] =3D my descri= ption;=A0=0A=0AI don't see a way to define validation_class for composite c= olumn. Am I right?=0A=0AThanks.=0A-Wei ---1879531-331272621-1352439495=:14470 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Any thoughts?

Thanks.
= -Wei



From: Wei Zhu <wz1975@yahoo.com> To: Cassandr usergroup &= lt;user@cassandra.apache.org>
Sent: Wednesday, November 7, 2012 12:47 PM
Subject: composite column validation_cla= ss question

=0A
Hi All,
= I am trying to design my schema using composite column. One thing I am a bi= t confused is how to define validation_class for the composite column, or i= s there a way to define it?
for the composite column, I might insert different value bas= ed on the column name, for example
I will insert date for column "created": 
<= div style=3D"font-family:arial, helvetica, sans-serif;">
set=0A user[1]['7:1:100:created'] =3D 135= 1728000; 

and insert String for description

set user[1]['7:1:100:desc= '] =3D my=0A description; 

I don't see a way to define val= idation_class for composite column. Am I right?

Thanks.
-Wei


=
=


---1879531-331272621-1352439495=:14470--