A model of column families: RowKey and cells

At this point, we've satisfied ourselves that each cell in a column family corresponds to a column name and value at the CQL level. The mapping between CQL3 tables and lower-level column families, so far, seems pretty straightforward. A table row's primary key value is stored in the RowKey field, and each cell contains a name-value pair that represents the value of the named column in the row.

We can make the relationship between the table representation and the column family representation more accessible with a visualization of each:

We thus visualize the column family as a collection of RowKey ...

Get Learning Apache Cassandra - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.