Introducing DataStax Java Driver 2.1
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.
Company
DataStax
Date published
Aug. 24, 2014
Author(s)
Oliver Michallat
Word count
762
Language
English
Hacker News points
None found.