Re: Store a timeline with uniques properties

2012-08-31 Thread Morgan Segalis
Hi Aaron, That's great news... Would you know the name of this feature so I can look further into it ? Thanks, Morgan. Le 31 août 2012 à 06:05, aaron morton aa...@thelastpickle.com a écrit : Consider trying… UserTimeline CF row_key: user_id column_names: timestamp, other_user_id,

Re: Store a timeline with uniques properties

2012-08-31 Thread Morgan Segalis
Nevermind, it is called composite columns. Thank you for your help. Morgan. Le 31 août 2012 à 06:05, aaron morton aa...@thelastpickle.com a écrit : Consider trying… UserTimeline CF row_key: user_id column_names: timestamp, other_user_id, action column_values: action details To

Store a timeline with uniques properties

2012-08-30 Thread Morgan Segalis
Hi everyone, I'm trying to use cassandra in order to store a timeline, but with values that must be unique (replaced). (So not really a timeline, but didn't find a better word for it) Let's me give you an example : - An user have a list of friends - Friends can change their nickname, status,

Re: Store a timeline with uniques properties

2012-08-30 Thread Morgan Segalis
Sorry for the scheme that has not keep the right tabulation for some people... Here's a space-version instead of a tabulation. user1 row :| lte| lte -1| lte -2| lte -3

Re: Store a timeline with uniques properties

2012-08-30 Thread aaron morton
Consider trying… UserTimeline CF row_key: user_id column_names: timestamp, other_user_id, action column_values: action details To get the changes between two times specify the start and end timestamps and do not include the other components of the column name. e.g. from 1234, NULL, NULL to