Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Apache Cassandra - Second Edition

You're reading from  Learning Apache Cassandra - Second Edition

Product type Book
Published in Apr 2017
Publisher
ISBN-13 9781787127296
Pages 360 pages
Edition 2nd Edition
Languages
Concepts

Table of Contents (14) Chapters

Getting Up and Running with Cassandra The First Table Organizing Related Data Beyond Key-Value Lookup Establishing Relationships Denormalizing Data for Maximum Performance Expanding Your Data Model Collections, Tuples, and User-Defined Types Aggregating Time-Series Data How Cassandra Distributes Data Cassandra Multi-Node Cluster Application Development Using the Java Driver Peeking under the Hood Authentication and Authorization

CQL—the Cassandra Query Language


Since this is a book about Cassandra and not targeted to users of any particular programming language or application framework, we will focus entirely on the database interactions that MyStatus will require. Code examples will be in Cassandra Query Language (CQL). Specifically, we'll use version 3.4.0 of CQL, which is available in Cassandra 3.0 and later versions.

As the name implies, CQL is heavily inspired by SQL; in fact, many CQL statements are equally valid SQL statements. However, CQL and SQL are not interchangeable. CQL lacks grammar for relational features such as JOIN statements, which are not possible in Cassandra. Conversely, CQL is not a subset of SQL; constructs for retrieving the update time of a given column, or performing an update in a lightweight transaction, which are available in CQL, do not have an SQL equivalent.

Note

Throughout this book, you'll learn the important constructs of CQL. Once you've completed reading this book, I recommend you to turn to the DataStax CQL documentation for additional reference. This documentation is available at http://www.datastax.com/documentation/cql/3.3.

 

Next Chapter arrow right
You have been reading a chapter from
Learning Apache Cassandra - Second Edition
Published in: Apr 2017 Publisher: ISBN-13: 9781787127296
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}