C# Driver 1.0 for Apache Cassandra

About the C# driver

The C# Driver 1.0 for Apache Cassandra works exclusively with the Cassandra Query Language version 3 (CQL3) and Cassandra's new binary protocol which was introduced in Cassandra version 1.2.

Architectural overview

The driver architecture is a layered one. At the bottom lies the driver core. This core, located in Cassandra.dll Assembly, handles everything related to the connections to a Cassandra cluster (for example, connection pool, discovering new nodes, etc.) and exposes a simple, relatively low-level API on top of which a higher level layer can be built.

The Linq2CQL module is built on top of the driver core and is located in Cassandra.Data.Linq.dll Assembly. It is a LINQ driver for Cassandra.

The driver has the following features:
  • connection pooling
  • node discovery
  • automatic failover
  • load balancing
The default behavior of the driver can be changed or fine tuned by using tuning policies and connection options.

Queries can be executed synchronously or asynchronously, prepared statements are supported, and LINQ can be used to embed queries directly into C# code.