As far as I know counter column family may pose serious consistency issues as 
they don't store timestamp. Correct me if I am wrong.

From: R. Verlangen [mailto:ro...@us2.nl]
Sent: Tuesday, March 27, 2012 5:50 PM
To: user@cassandra.apache.org
Subject: Re: counter column family

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 <puneetl...@gmail.com<mailto:puneetl...@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<http://www.robinverlangen.nl>


________________________________

Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know more 
about our Big Data quick-start program at the event.

New Impetus webcast 'Cloud-enabled Performance Testing vis-?-vis On-premise' 
available at http://bit.ly/z6zT4L.


NOTE: This message may contain information that is confidential, proprietary, 
privileged or otherwise protected by law. The message is intended solely for 
the named addressee. If received in error, please destroy and notify the 
sender. Any use of this email is prohibited when received in error. Impetus 
does not represent, warrant and/or guarantee, that the integrity of this 
communication has been maintained nor that the communication is free of errors, 
virus, interception or interference.

Reply via email to