April 2017
Beginner to intermediate
360 pages
9h 35m
English
The most notable aspect of user_status_updates is that it has two columns for a primary key. This means that each row is identified uniquely by the combination of its username and id columns. It also means that every row must have a value in both of these columns.
In addition to this, our user_status_updates table is the first time we've seen a timeuuid column in the wild. As you can recollect from the previous chapter, a UUID is essentially a very large number that is generated using an algorithm that guarantees that the identifier is unique across time and space.
You will also recollect that Cassandra does not have the ability to generate auto-incrementing sequences for use in primary keys as this ...
Read now
Unlock full access