Datastax Enterprise Java Driver

DSE and OSS drivers have been unified

As of the 4.4.0 release of the Datastax Java Driver for Apache Cassandra® (OSS Driver), the Datastax Enterprise Java Driver (DSE driver) functionality has been merged into this single, Datastax driver. Please refer to the blog post for more information on this change.

Maven Central

A modern, feature-rich and highly tunable Java client library for Datastax Enterprise (4.7+), built on top of the robust, efficient and highly configurable Datastax Java Driver for Apache Cassandra®.

The Datastax Enterprise Java Driver can only be used with Datastax Enterprise as per its license.

Getting the driver

The driver artifacts are published in Maven central, under the group id com.datastax.dse; there are multiple modules, all prefixed with dse-java-driver-.

<dependency>
  <groupId>com.datastax.dse</groupId>
  <artifactId>dse-java-driver-core</artifactId>
  <version>${driver.version}</version>
</dependency>

<dependency>
  <groupId>com.datastax.dse</groupId>
  <artifactId>dse-java-driver-query-builder</artifactId>
  <version>${driver.version}</version>
</dependency>

<dependency>
  <groupId>com.datastax.dse</groupId>
  <artifactId>dse-java-driver-mapper-runtime</artifactId>
  <version>${driver.version}</version>
</dependency>

Note that the query builder is now published as a separate artifact, you’ll need to add the dependency if you plan to use it.

Refer to each module’s manual for more details (core, query builder, mapper).

Compatibility

The driver is compatible with DataStax Enterprise 4.7 and higher. Graph features are only usable against DSE 5.0 and higher.

It requires Java 8 or higher.

Disclaimer: Some DataStax/DataStax Enterprise products might partially work on big-endian systems, but DataStax does not officially support these systems.

Migrating from previous versions

DSE driver 2 is not binary compatible with previous versions. However, most of the concepts remain unchanged, and the new API will look very familiar to 1.x users.

See the upgrade guide for details.

License

© DataStax, Inc.

The full license terms are available at http://www.datastax.com/terms/datastax-dse-driver-license-terms