O'Reilly logo

Apache Cassandra Essentials by Nitin Padalia

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

Chapter 5. Writing Your Cassandra Client

There are many popular client drivers available for Java and other popular languages. You can find the list at http://planetcassandra.org/client-drivers-tools/. However, in this chapter we'll see how we can write our Cassandra client using the Datastax Java driver. This is one of the most popular drivers available, and we'll discuss some core features provided by it, such as the database connection pool support and various pool configuration options. We'll also discuss the mapping API provided by Datastax, which we can use to map Cassandra tables to our Java class objects. We'll also take a look at how we can enable tracing for queries from the Java driver.

Connecting to a Cassandra cluster

In order to make ...

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