Skip to Main Content
Apache Cassandra Essentials
book

Apache Cassandra Essentials

by Nitin Padalia
November 2015
Beginner to intermediate content levelBeginner to intermediate
172 pages
3h 47m
English
Packt Publishing
Content preview from Apache Cassandra Essentials

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apache Cassandra - Second Edition

Mastering Apache Cassandra - Second Edition

Nishant Neeraj
Learning Apache Cassandra - Second Edition

Learning Apache Cassandra - Second Edition

Sandeep Yarabarla, Graham Doman

Publisher Resources

ISBN: 9781783989102