Compare connection methods

When you develop applications that interact with your Hyper-Converged Database (HCD) databases, you must connect to your databases programmatically through clients or drivers.

DataStax recommends Data API clients for most applications, as it’s an easier way to get started with HCD. Use drivers if you have a legacy application that relies on a driver or you want to use specific Apache Cassandra® features.

Data API clients

You can use the Data API clients to access all Data API commands. You can also connect to the Data API over HTTP.

Language Client Version Documentation

Python

astrapy

Latest astrapy release on GitHub

Connect

Reference

TypeScript

astra-db-ts

Latest astra-db-ts release on GitHub

Connect

Reference

Java

astra-db-java

Latest astra-db-java release on Maven Central

Connect

Reference

Cassandra drivers

HCD is compatible with the following Cassandra drivers:

Language Driver Version Documentation

C++

cpp-driver

Latest cpp-driver release on GitHub

Connect

Quickstart

C#

csharp-driver

Latest CassandraCSharpDriver release on NuGet

Connect

Quickstart

Java

cassandra-java-driver

Latest cassandra-java-driver release on GitHub

Connect

Quickstart

Node.js

nodejs-driver

Latest nodejs-driver release on GitHub

Connect

Quickstart

Python

python-driver

Latest python-driver release on GitHub

Connect

Quickstart

Scala

cassandra-spark-connector

Latest cassandra-spark-connector release on GitHub

Connect to HCD with the Apache Cassandra Spark connector

If you want to use a CQL driver that isn’t compatible with HCD, consider using cql-proxy. This utility provides connectivity for incompatible drivers by securely forwarding your application’s CQL traffic to an appropriate database service.

cql-proxy isn’t required for supported driver versions, which are already compatible with HCD.

For more information about drivers, see Cassandra drivers supported by DataStax and Get started with DataStax drivers.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2025 DataStax | Privacy policy | Terms of use | Manage Privacy Choices

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