Elffuss BraidHub

kikocis/java-driver public

Changeset: 17f0e5d21583
17f0e5d21583 Add CREATE KEYSPACE statement builder. Alex Petrov,
..
creating/
using/
README.md579 B

README.md

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.1.9</version>
</dependency>

This documentation is organized in subsections describing mapper features.