cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "R. Verlangen" <ro...@us2.nl>
Subject Re: counter column family
Date Tue, 27 Mar 2012 12:20:18 GMT
*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 <puneetloya@gmail.com>

> 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

Mime
View raw message