Re: Setting Key Validation Class

2011-12-05 Thread Dinusha Dilrukshi
Hi Filipe/ Samal, Thanks for clarifications. Regards, ~Dinusha~ On Mon, Dec 5, 2011 at 10:28 PM, samal wrote: > key_validation_class is different from validation_class > validation are BytesType by default. > > key_valdation_class => key > default_validation_class=>column_values > comparator

Re: Setting Key Validation Class

2011-12-05 Thread samal
key_validation_class is different from validation_class validation are BytesType by default. key_valdation_class => key default_validation_class=>column_values comparator=>column_name default_validation_class is global scope of validation_class On Mon, Dec 5, 2011 at 10:10 PM, Dinusha Dilrukshi

Re: Setting Key Validation Class

2011-12-05 Thread Filipe Gonçalves
Cassandra's data model is NOT table based. The key is not a column, it is a separate value. "index_type: KEYS" means you are creating an index on that column, and that index can only be acessed in an equality query ( column = x ). You should probably read http://www.datastax.com/docs/1.0/ddl/inde