This library uses the cql library which implements Cassandra’s CQL protocol and complements it with the neccessary I/O operations. The feature-set includes:
The driver discovers nodes automatically from a small set of bootstrap nodes.
In addition to pre-built LB policies such as round-robin, users of this library can provide their own policies if desired.
Requests can be multiplexed over a few connections.
Support for default retry settings as well as local overrides per query.
Prepared queries are an optimisation which parse and prepare a query only once on Cassandra nodes but execute it many times with different concrete values.
Client to node communication can optionally use transport layer security (using HsOpenSSL).