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 92C38907A for ; Tue, 27 Mar 2012 12:20:48 +0000 (UTC) Received: (qmail 81444 invoked by uid 500); 27 Mar 2012 12:20:46 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 81418 invoked by uid 500); 27 Mar 2012 12:20: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 81410 invoked by uid 99); 27 Mar 2012 12:20:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 12:20:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.220.172] (HELO mail-vx0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 12:20:39 +0000 Received: by vcbfk13 with SMTP id fk13so6109667vcb.31 for ; Tue, 27 Mar 2012 05:20:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=K0sIb1dGfC8CT+6EG3/3YYPIZ2FE9QJXUWED2URt4Mo=; b=Mi09wc6Q/KUIN2FHauo2Rk3u8ZgQN3qt+/S3n0SMH8Z9yXK5rA91FHnWzlwpiqA+fQ Qf9TWz0kJmaeFJXYdJfLAdKP9z3adHZl3yVYCwNB0Bhgswh3FF45+s62qsyt6OXSIXf2 FlcSC9c1silHW4+zTLHrlo7x7io732wz34zEjpEai3k8wTDe20HqvfLCsSJnaEwefDgR BHhnagjmVxk+drh7QY29oukntNmmv6i/sZjsshsx4+xfL/opbxaFtqS7TvYQ3BURpq3q hoQXXiwdHuMU3/ZrjKF9UAjOOtRUsBBeCQpQ5fIsmnMQUnlIB/EQ8WWtM6gQjxNIIrFR lCmQ== MIME-Version: 1.0 Received: by 10.52.64.234 with SMTP id r10mr9996625vds.39.1332850818558; Tue, 27 Mar 2012 05:20:18 -0700 (PDT) Received: by 10.220.39.8 with HTTP; Tue, 27 Mar 2012 05:20:18 -0700 (PDT) In-Reply-To: References: Date: Tue, 27 Mar 2012 14:20:18 +0200 Message-ID: Subject: Re: counter column family From: "R. Verlangen" To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf307ac775942a2004bc3883d1 X-Gm-Message-State: ALoCoQnkZWtoGDj8UKFa+TxUfPdIGlKoADMvJnacBdq5oMVsHZLQB5vdxJH+v0+fl7m7VKPxT4PL --20cf307ac775942a2004bc3883d1 Content-Type: text/plain; charset=ISO-8859-1 *create column family MyCounterColumnFamily with default_validation_class=CounterColumnType and key_validation_class=UTF8Type and comparator=UTF8Type;* There you go! Keys must be utf8, as well as the column names. Of course you can change those validators. Cheers! 2012/3/27 puneet loya > Can u give an example of create column family with counter column in it. > > > Please reply > > > Regards, > > Puneet Loya > -- With kind regards, Robin Verlangen www.robinverlangen.nl --20cf307ac775942a2004bc3883d1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable create column family MyCounterColu= mnFamily with default_validation_class=3DCounterColumnType and key_validati= on_class=3DUTF8Type and comparator=3DUTF8Type;=A0

There you go! Keys must be utf8, as well as the column names= . Of course you can change those validators.

Cheer= s!

2012/3/27 puneet loya <puneetloya@gmail.com><= /span>
Can u give an example of create column famil= y with counter column in it.=A0


Please re= ply


Regards,

Puneet= Loya



--
With kind re= gards,

Robin Verlangen

--20cf307ac775942a2004bc3883d1--