While YugaByte DB supports Apache Cassandra Query Language in API and in binary protocol, YugaByte DB and Apache Cassandra use different approaches to split data between nodes. In order to route client requests to the right server and execute efficiently without extra hops, we provide a custom LoadBalancingPolicy in our modified version of Datastax’s Apache Cassandra Java driver.
We are pleased to announce the availability of our Java driver on Maven Central. To build your Java application using our driver, you can do so by adding the following Maven dependency to your application:
<dependency>
<groupId>com.yugabyte</groupId>
<artifactId>cassandra-driver-core</artifactId>
<version>3.2.0-yb-8</version>
</dependency>