title: How do you make cassandra store tuples of of values in one row, without actually storing a list? Is that even possible?
body: <p>I was reading the following blog about using cassandra data modeling:</p>
  
  <p><a href="http://www.ebaytechblog.com/2012/07/16/cassandra-data-modeling-best-practices-part-1/#terms" rel="nofollow noreferrer">http://www.ebaytechblog.com/2012/07/16/cassandra-data-modeling-best-practices-part-1/#terms</a></p>
  
  <p>I was trying to understand how to implement or actually do some of this stuff using CQL commands.</p>
  
  <p>I was interested in the following picture from section Option 3 from the blog/tutorial.</p>
  
  <p><img src="https://i.stack.imgur.com/Cd3Vx.png" alt="enter image description here"></p>
  
  <p>I was interested in implementing the bottom two mostly.</p>
  
  <p>On the bottom left picture, the row key is the item id and the column is the user that likes that item. Some how in the tutorial its shown how one user can be stored in the key, kind of like a tuple of name and userID. How is it possible to do that in CQL? The thing that is confusing me is that, for one user, the table is able to store two column value for it in one row (i.e. its storing the userID as well as the username). I was a little confused how that was actually possible to do for Cassandra. Conceptually it makes sense to me, however, I am not sure if I understand how to actually make cassandra do such a thing.</p>