Get started with DataStax drivers
To develop applications with databases that are based on Apache Cassandra®, you can use Cassandra drivers.
While there are many Cassandra drivers available, this guide focuses on drivers with verified compatibility with these DataStax products: Astra DB, DataStax Enterprise (DSE), and Hyper-Converged Database (HCD).
This documentation provides guidance on application development with DataStax drivers, including driver compatibility, best practices, connection methods, query submission, and error handling.
Use this documentation in conjunction with the documentation for your chosen driver and database product.
Cassandra drivers and DataStax drivers
The term Cassandra drivers refers to all drivers that can be used with Cassandra-based databases.
Due to the open source nature of the Apache Software Foundation (ASF), Cassandra drivers are developed by different contributors, depending on source code ownership or primary responsibility. The majority of the drivers described in this guide are developed by either DataStax or the Apache Software Foundation (ASF).
Some drivers, such as the Java driver, originate from DataStax and are later donated to ASF. When a donation happens, the documentation can be split between the original maintainer (pre-donation versions) and ASF (post-donation versions).
Generally, this guide uses the term DataStax drivers to refer to all Cassandra drivers that are compatible with DataStax products.
DataStax driver languages
For supported programming languages and version compatibility, see Compatibility and support for DataStax drivers.
DataStax driver packages
To download drivers, see the DataStax drivers downloads page and the Community drivers downloads page.
For information about installing and using drivers, see Compatibility and support for DataStax drivers.
DataStax driver features
The DataStax drivers support features such as the following:
-
CQL support
-
Query builder with Synchronous and asynchronous query execution
-
Address translation
-
Automatic cluster discovery
-
Compression
-
DSE Advanced Security and unified authentication
Specific features and capabilities vary by driver language, driver version, and database product. DataStax recommends, whenever possible, that you use the latest version of your chosen driver to access the most recent features and improvements.
This documentation describes general features and capabilities of the DataStax drivers. You must refer to your chosen driver’s documentation for specific information about supported features and capabilities, including limitations, configuration details, and usage instructions.
DataStax Enterprise (DSE) workloads
DSE supports several workload types:
-
Transactional (Cassandra-only)
-
Search
-
Analytics
-
Graph
The DataStax drivers support most of these workloads natively, simplifying applications that run Transactional, Search, and Graph queries alongside one another.
The DataStax drivers in this guide do not support DSE Analytics queries. The access patterns in analytics use cases are different than the access patterns used by the other workloads. The ODBC and JDBC drivers for DSE Analytics and the DSE Spark Cassandra Connector are typically used with the DSE drivers for analytics applications.
For more about workloads, see Working with multi-workload clusters.