Home / Companies / DataStax / Blog / Post Details
Content Deep Dive

Introducing DataStax Java Driver 2.1

Blog post from DataStax

Post Details
Company
Date Published
Author
Oliver Michallat
Word Count
762
Company Posts That Month
5
Language
English
Hacker News Points
-
Summary

The latest version of the Java driver has been released, compatible with Cassandra 1.2, 2.0, and now supporting Cassandra 2.1. It introduces a new object mapping API that simplifies conversion of query results to custom Java classes. Additionally, it includes support for User Defined Types (UDTs) and tuples in Cassandra 2.1. The driver's perspective on UDT values is as map-like objects with getters and setters. Tuples are essentially anonymous UDTs with unnamed fields and predefined types. To specify target tables and UDTs, Java classes can be decorated with annotations. The object mapper generates boilerplate code for CRUD operations and complex queries. It is available from Maven repositories and as a packaged binary.

Trends Found in this Post

No tracked trend matches for this post yet.