So far, we've built data models for a small facebook-like application, and learned some important CQL constructs in this exercise. It's time now to move on to learning some important CQL features that you would use. In this chapter, we'll discuss features such as time to Live, CQL for client applications, and batch operations. We'll also take a look at the different ways of writing client applications in Java using CQL.
We've seen that
DELETE, and sometimes
TRUNCATE, are used to remove rows and columns from a table. In Cassandra, it's possible to specify an expiration period by executing the
UPDATE queries on the columns of a row. After the expiration of the specified period, column ...