Application Development Using the Java Driver

Since the beginning of Chapter 1, Getting Up and Running with Cassandrawe have been using cqlsh to execute all queries. Whether it is reading or writing data, changing consistency level, or enabling tracing, cqlsh facilitates performing all these tasks with ease. When developing applications that work with Cassandra, we use various drivers, supported either by DataStax or by the open source community. During the course of this chapter, we will be focusing on the Java driver in particular, which is used widely, and most new changes go into this first. Cqlsh uses the Python driver underneath.

The Java driver is based on CQL3 and Cassandra binary protocol. It uses Netty-based transport, which provides ...

Get Learning Apache Cassandra - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.