O'Reilly logo

Mastering Apache Cassandra by Nishant Neeraj

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

CQL 3 basics

This section is a brief introduction to CQL 3 on Cassandra 1.1.x. We will see queries and discuss options available. For more formal query definitions, please refer to the Cassandra CQL 3 documentation that is appropriate for the Cassandra version that you are using. One of the good sources for this is the Apache CQL 3 documentation and the DataStax Cassandra documentation. Most of the queries that are mentioned here should work in 1.1.x as well as in 1.2.x versions, but the queries are not tested against 1.2.x and further versions.

Note

Apache CQL 3 documentation at http://cassandra.apache.org/doc/cql3/CQL.html.

Cassandra CQL documentation at http://www.datastax.com/docs/1.1/references/cql/index.

The CREATE KEYSPACE query

Creating keyspace ...

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