Drivers

Information on DataStax, JDBC, and ODBC drivers for open-source Apache Cassandra, DataStax Enterprise, and DataStax Astra DB.

Except as may be noted below, DataStax officially supports the last twelve months of releases.

Connecting your application to Astra DB might cause connection issues depending on the driver you choose. Although third-party open-source drivers, such as GoCQL, are supported, DataStax strongly recommends using native Astra drivers or DataStax CQL drivers. Third-party open-source drivers might lack features that harden the driver against IP address changes of the coordinators, which can cause frequent connection issues.

For more, see the DataStax Support Policy.

Apache Cassandra®, DSE, and Astra DB drivers

To get started, see Developing applications with DataStax drivers. This guide contains information about best practices, connecting to clusters, submitting queries with drivers, and handling client and server errors.

Download drivers: DataStax Drivers | Community drivers

To download the DataStax ODBC/JDBC Driver for Apache Cassandra and DataStax Enterprise with CQL connector, see the ODBC/JDBC Drivers article.

A Support Portal account is required to access these drivers. Please contact DataStax Support if you need assistance with the Support Portal.

Starting January 2020, you can use the same DataStax driver for Apache Cassandra® (OSS), DataStax Enterprise, and DataStax Astra DB. DataStax has unified the DSE and OSS drivers to avoid user confusion and enhance the OSS drivers with some of the features in the DSE drivers. For more information, see the Better Drivers for Cassandra blog.

DSE-only drivers were supported until January 1st, 2022. All new features and functionality are added to the unified DataStax drivers.

As previously indicated, the Java driver version 3.x is in an EOSL state as of January 1, 2022. Users are encouraged to upgrade to the 4.x driver.

Guides Source (GitHub) Version Compatibility Upgrade Quickstart

C++

C++

C++

C++

C++

C# Graph extension

C#

C#

C#

C#

Java (latest version Maven Central) (includes Graph extension)

Java

Java

Java

Java

Node.js Graph extension

Node.js

Node.js

Node.js

Node.js

Python

Python

Python

Python

JDBC and ODBC drivers

To download the DataStax ODBC/JDBC Driver for Apache Cassandra and DataStax Enterprise with CQL connector, see the OBDC/JDBC Drivers article.

A Support Portal account is required to access these drivers. Please contact DataStax Support if you need assistance with the Support Portal.

For installation instructions, see the DataStax ODBC install documentation.

PHP and Ruby drivers

The PHP and Ruby drivers are in an EOSL state.

DSE drivers guides OSS drivers guides DSE version compatibility OSS version compatibility

PHP

PHP

DSE PHP

OSS PHP

Ruby

Ruby

DSE Ruby

OSS Ruby

Spark Cassandra Connector

DSE Developer Guides Github

Getting started with the Spark Cassandra Connector 6.8 | 6.7 | 6.0 | 5.1

DataStax Spark Cassandra Connector

DSE-only drivers

DSE-only drivers were supported until January 1st, 2022. All new features and functionality will take place only in the unified DataStax drivers.

Driver Guides Graph Extensions Version compatibility

DSE C++ Guide

DSE C++

DSE C# Guide

DSE C# Graph Extension

DSE C#

DSE Java Guide

Included

DSE Java

DSE Node.js Guide

DSE Node.js Graph Extension

DSE Node.js

DSE Python Guide

DSE Python Graph Extension

DSE Python

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com