cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praveen Baratam <>
Subject Help with Wide Rows with CounterColumns
Date Fri, 20 Apr 2012 19:40:53 GMT
Hello All,

I have a particular requirement where I need to update CounterColumns in a
Row by a specific UID which is the key for the CounterColumn in that row
and then query for those columns in that Row such that we get the top 5
UIDs with highest Counter Values.

create column family Counters
    with comparator = 'UTF8Type'
    and key_validation_class = 'UTF8Type'
    and default_validation_class = 'CounterColumnType';

Can it be done?

View raw message