The following client drivers are supported for use with the Yugabyte Cloud Query Language (YCQL) API, a SQL-based, semi-relational API, with roots in the Apache Cassandra Query Language (CQL).

For tutorials on building a sample application with the following client drivers, click the relevant link included below for each driver.

C/C++

Yugabyte C/C++ Driver for YCQL

The Yugabyte C++ Driver for YCQL is based on the DataStax C++ Driver for Apache Cassandra.

For details, see the README in our GitHub repository.

For a tutorial on building a sample C++ application with this driver, see Build a C++ application.

C#

Yugabyte C# Driver for YCQL

The Yugabyte C# Driver for YCQL is based on a fork of the DataStax C# Driver for Apache Cassandra.

For details, see the README in our GitHub repository.

For a tutorial on building a sample C# application with this driver, see Build a C# application.

Go

Yugabyte Go Driver for YCQL

The Yugabyte Go Driver for YCQL is based on a fork of GoCQL.

For details, see the README in our GitHub repository.

For a tutorial on building a sample Go application with this driver, see Build a Go application.

Java

Yugabyte Java Driver for YCQL 4.6

The Yugabyte Java Driver for YCQL, version 4.6.0-yb-x, is based on the DataStax Java Driver for Apache Cassandra (v4.6) and requires the Maven dependency shown below.

For details, see the v4.6 README in our GitHub repository.

For a tutorial on building a sample Java application with this driver, see Build a Java application.

To build Java applications with this driver, you must add the following Maven dependency to your application:

<dependency>
  <groupId>com.yugabyte</groupId>
  <artifactId>java-driver-core</artifactId>
  <version>4.6.0-yb-11</version>
</dependency>

For details, see the Maven repository contents.

Yugabyte Java Driver for YCQL 3.10

The Yugabyte Java Driver for YCQL, version 3.10.0-yb-x, is based on the DataStax Java Driver for Apache Cassandra v.3.10 and requires the Maven dependency shown below.

For details, see the v3.10 README in our GitHub repository.

To build Java applications with this driver, you must add the following Maven dependency to your application:

<dependency>
  <groupId>com.yugabyte</groupId>
  <artifactId>cassandra-driver-core</artifactId>
  <version>3.10.3-yb-2</version>
</dependency>

For details, see the Maven repository contents.

Node.js

Yugabyte Node.js driver for YCQL

The YugabyteDB Node.js driver for YCQL is based on a fork of the DataStax Node.js Driver for Apache Cassandra.

For details, see the README in our GitHub repository.

For a tutorial on building a sample Node.js application with this driver, see Build a Node.js application.

Python

Yugabyte Python Driver for YCQL

The Yugabyte Python Driver for YCQL is based on a fork of the DataStax Python Driver for Apache Cassandra.

For details, see the README in our GitHub repository.

For a tutorial on building a sample Python application with this driver, see Build a Python application.

Ruby

Yugabyte Ruby Driver for YCQL

The Yugabyte Ruby Driver for YCQL is based on a fork of the DataStax Ruby Driver for Apache Cassandra.

For details, see the README in our GitHub repository.

For a tutorial on building a sample Ruby application with this driver, see Build a Ruby application.

Scala

Yugabyte Java Driver for YCQL

The Yugabyte Java Driver for YCQL is based on a fork of the DataStax Java Driver for Apache Cassandra and can be used to build Scala applications when you add the sbt (Scala build tool) dependency shown below to your application.

For details, see the README in our GitHub repository.

To build a Scala application with the Yugabyte Java Driver for YCQL, you must add the following sbt dependency to your application:

libraryDependencies += "com.yugabyte" % "cassandra-driver-core" % "3.8.0-yb-5"

For a tutorial on building a sample Scala application with this driver, see Build a Scala application.