Have you tried to Astyanax example and use the Date override ?
https://github.com/Netflix/astyanax/wiki/Writing-data
http://netflix.github.io/astyanax/javadoc/com/netflix/astyanax/ColumnMutation.html#putValue(java.util.Date,
java.lang.Integer)
Cheers
-
Aaron Morton
Freelance Ca
I created my column family in Cassandra database like this from the CLI-
create column family PROFILE
with key_validation_class = 'UTF8Type'
and comparator = 'UTF8Type'
and default_validation_class = 'UTF8Type'
and column_metadata = [
{column_name : lmd, validation_class : 'DateType'}
];
Now I