java-driver/features/object_mapper at java849 · fromanator/java-driver · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

Object Mapper

Version 2.1 of the driver introduces a simple object mapper, which avoids most of the boilerplate when converting your domain classes to and from query results. It handles basic CRUD operations in Cassandra tables containing UDTs, collections and all native CQL types.

The mapper is published as a separate Maven artifact:

<dependency>
  <groupId>com.datastax.cassandra</groupId>
  <artifactId>cassandra-driver-mapping</artifactId>
  <version>2.2.0-rc2</version>
</dependency>

This documentation is organized in subsections describing mapper features.