incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei Zhu <>
Subject Re: composite column validation_class question
Date Fri, 09 Nov 2012 05:38:15 GMT
Any thoughts?


 From: Wei Zhu <>
To: Cassandr usergroup <> 
Sent: Wednesday, November 7, 2012 12:47 PM
Subject: composite column validation_class question

Hi All,
I am trying to design my schema using composite column. One thing I am a bit confused is how
to define validation_class for the composite column, or is there a way to define it?
for the composite column, I might insert different value based on the column name, for example
I will insert date for column "created": 

set user[1]['7:1:100:created'] = 1351728000; 

and insert String for description

set user[1]['7:1:100:desc'] = my description; 

I don't see a way to define validation_class for composite column. Am I right?

View raw message