incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Rav <daver...@yahoo.com>
Subject CounterColumn
Date Fri, 06 May 2011 03:33:04 GMT
can I use 'Colunm' and  'CounterColumn' in the same 'column family'?

create column family User with   
comparator = UTF8Type and   
column_metadata =   [     
    {column_name: first, validation_class: UTF8Type}, 
    {column_name: last, validation_class: UTF8Type},
    {column_name: friends, validation_class: CounterColumnType}   ];



if 
default_validation_class: CounterColumnType 
column 'set' fail


and if 
default_validation_class: UTF8Type 
CounterColumn 'incr' fail
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message