You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2009/08/18 15:35:13 UTC
[Cassandra Wiki] Update of "DataModel2" by MichaelGreene
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The following page has been changed by MichaelGreene:
http://wiki.apache.org/cassandra/DataModel2
------------------------------------------------------------------------------
Timestamps can be anything you like, but milliseconds since 1970 is a convention, as returned by System.getTimeMillis() in Java. Whatever you use, it must be consistent across the application otherwise earlier changes may overwrite newer ones.
= Column Families =
- A column family is a container for columns. You define columns in your storage-conf.xml file, and cannot modify them (or add new column families) without restarting your Cassandra process. A column family holds an ordered list of columns, which you can reference by the column name. A JSON representation would be
+ A column family is a container for columns. You define column families in your storage-conf.xml file, and cannot modify them (or add new column families) without restarting your Cassandra process. A column family holds an ordered list of columns, which you can reference by the column name. A JSON representation would be
{{{
{ Users : {
emailAddress : { // this is a column