Re: How do data model a recursive message in Cassandra

2016-12-22 Thread Vladimir Yudovin
ionproto' that I receive has a field that is recursive. How do I define a data model in Cassandra to store this data. itemrelationproto references itemgroupproto and itemgroupproto references itemrelationproto . Thanks. message itemrelationproto { optional string i

How do data model a recursive message in Cassandra

2016-12-21 Thread shyla deshpande
Hi All, The protobuf message 'sessionproto' that I receive has a field that is recursive. How do I define a data model in Cassandra to store this data. itemrelationproto references itemgroupproto and itemgroupproto references itemrelationproto . Thanks. message itemrelationproto {

Re: Apache Cassandra - Question about data model

2015-12-31 Thread Lior Menashe
question that i'll be glad if you can help me or give me a > > direction. > > > > I have an activity feed like the activity feed on Instagram. When user > > (lets say UserA) enters his page he can see all the activities that are > > related to him, > &

Re: Apache Cassandra - Question about data model

2015-12-31 Thread Jack Krupansky
user > (lets say UserA) enters his page he can see all the activities that are > related to him, > for example, user B liked your post.user C commented on your post etc... > > the cassandra data model that i thought about is: > > userID UDID (partition key) > d

Re: Apache Cassandra - Question about data model

2015-12-31 Thread Matthias Eichstaedt
liked your post.user C commented on your post etc... > > the cassandra data model that i thought about is: > > userID UDID (partition key) > datetimeadded timestamp (clustering column DESC) > userID_Name text > userID_Picture_URL text > userID_From UDID (this is userB from t

Apache Cassandra - Question about data model

2015-12-31 Thread Lior Menashe
age he can see all the activities that are related to him, for example, user B liked your post.user C commented on your post etc... the cassandra data model that i thought about is: userID UDID (partition key) datetimeadded timestamp (clustering column DESC) userID_Name text userID_Picture_URL text u

Re: Data model

2011-03-07 Thread aaron morton
Will answer on the user list. Aaron On 8/03/2011, at 1:11 AM, Baskar wrote: > Does Cassandra allow nesting of column families? > > Here is the use case > - we need to store calls made by employees > - employees are associated with an account > - accounts have phone numbers > - many calls are m

Data model

2011-03-07 Thread Baskar
Does Cassandra allow nesting of column families? Here is the use case - we need to store calls made by employees - employees are associated with an account - accounts have phone numbers - many calls are made by employees for a given account and phone If possible, would like to store call related