O'Reilly logo

Instant Cassandra Query Language by Amresh Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Top 3 features you need to know about

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.

TTL (time to live)

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 INSERT and UPDATE queries on the columns of a row. After the expiration of the specified period, column ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required