Database Reference
In-Depth Information
The preceding code snippet is an example of two cells; the first looks more like a tradi-
tional cell, and one would expect each row of the
users
column family to have one
username
cell. The latter is more like a dynamic cell. Its name is
timestamp
when a
user accesses a web page, and the value is the URL of the page.
Later in this topic, we'll ignore the
timestamp
field whenever we refer to a cell because
it is generally not needed for application use, and is used by Cassandra internally. A cell
can be viewed as shown in the following figure:
Representing a cell