fixed size collection possible?

2014-04-22 Thread Jimmy Lin
hi, look at the collection type support in cql3, e.g http://www.datastax.com/documentation/cql/3.0/cql/cql_using/use_list_t.html we can append or remove using + and - operator UPDATE users SET top_places = top_places + [ 'mordor' ] WHERE user_id = 'frodo'; UPDATE users SET top_places =

Re: fixed size collection possible?

2014-04-22 Thread Chris Lohfink
It isn’t natively supported but theres some things you can do if need it. A lot depends on how frequently this list is getting updated. For heavier workloads I would recommend using a custom CF for this instead of collections. If extreme inserts you would want to add additional partitioning to