Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for 
change notification.

The "DataModel" page has been changed by PatriciaGorla:
http://wiki.apache.org/cassandra/DataModel?action=diff&rev1=29&rev2=30

  
  The row key is what determines what machine data is stored on.  Thus, for 
each key you can have data from multiple column families associated with it.  
However, these are logically distinct, which is why the Thrift interface is 
oriented around accessing one !ColumnFamily per key at a time.  (TODO given 
this, is the following JSON more confusing than helpful?)
  
- A JSON representation of the key -> column families -> column structure is
+ A JSON representation of the rowkey -> column families -> column structure is
  
  {{{
  {
-    "mccv":{
+    "row_key1":{
        "Users":{
           "emailAddress":{"name":"emailAddress", "value":"f...@bar.com"},
           "webSite":{"name":"webSite", "value":"http://bar.com"}
@@ -65, +65 @@

           "visits":{"name":"visits", "value":"243"}
        }
     },
-    "user2":{
+    "row_key2":{
        "Users":{
           "emailAddress":{"name":"emailAddress", "value":"us...@bar.com"},
           "twitter":{"name":"twitter", "value":"user2"}

Reply via email to