Elffuss BraidHub

kikocis/java-driver public

5cd205e3f802 · 579 BRenderedRawPermalink
1# Object Mapper
2
3Version 2.1 of the driver introduces a simple object mapper, which
4avoids most of the boilerplate when converting your domain classes to
5and from query results. It handles basic CRUD operations in Cassandra tables
6containing UDTs, collections and all native CQL types.
7
8The mapper is published as a separate Maven artifact:
9
10```xml
11<dependency>
12 <groupId>com.datastax.cassandra</groupId>
13 <artifactId>cassandra-driver-mapping</artifactId>
14 <version>2.1.9</version>
15</dependency>
16```
17
18This documentation is organized in subsections describing mapper features.