CqlSharp 0.30.0

.NET Framework 4.5
There is a newer version of this package available.
See the version list below for details.
dotnet add package CqlSharp --version 0.30.0
NuGet\Install-Package CqlSharp -Version 0.30.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CqlSharp" Version="0.30.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CqlSharp --version 0.30.0
#r "nuget: CqlSharp, 0.30.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CqlSharp as a Cake Addin
#addin nuget:?package=CqlSharp&version=0.30.0

// Install CqlSharp as a Cake Tool
#tool nuget:?package=CqlSharp&version=0.30.0

CqlSharp is a high performance, asynchronous Cassandra CQL binary protocol client implementing the ADO.NET data provider interfaces.

     It's main features are:
     * The API implements the ADO.NET interfaces. If you are familiar with SqlConnection, SqlCommand, and SqlReader, you should be able to use CqlSharp with no difficulty.
     * CqlSharp is an implementation of the (new) CQL Binary Protocol and therefore requires Cassandra 1.2 and up
     * CqlSharp supports all the binary protocol v2 features: batching, paging, bound query variables, result schema caching, check-and-set (CAS) statements, and sasl-authentication
     * Supports fast mapping of objects to query parameters, or query results to objects. Mapping is tunable by decorating your classes via Table and Column attributes.
     * CqlSharp allows for partition/token aware routing of queries. This allows queries to be directly sent to the Cassandra nodes that are the 'owner' of that data.
     * Query timeouts and cancellation is supported
     * Query tracing is supported.
     * Provides an extendable logging infrastructure using MEF. Related log statements can be correlated through "Activity GUIDs"
     * CqlSharp supports Snappy compression of queries and responses
     * The API is predominately [asynchronous](https://msdn.microsoft.com/en-us/library/vstudio/hh191443.aspx), heavily relying on the System.Threading.Tasks namespace. Synchronous alternatives are available for convenience.
     * Configuration is done through connection strings. The simultaneous use of multiple Cassandra clusters is supported.
     * Most behavioral aspects of the CqlSharp are configurable: max number of connections, new connection threshold, discovery scope, max connection idle time, etc. etc.
     * Relative Node Discovery: given the 'seed' nodes in your connection string, CqlSharp may find other nodes for you: all nodes in your cluster, nodes in the same data center, or the nodes in the same rack
     * Load balanced connection management: you can give your queries a load 'factor' and the client will take that into account when picking connections to send queries over.
     * Queries will be automatically retried when connections or nodes fail.
     * Node monitoring: Node failure is automatically detected. Recovery checks occur using an exponential back-off algorithm
     * CqlSharp listens to Cassandra events for node up, new node and node removed messages such that Cluster changes are automatically incorporated

     See https://github.com/reuzel/CqlSharp/wiki/Features for an extensive feature list.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on CqlSharp:

Package Downloads

CqlSharp.Linq contains a Linq-to-Cql provider for use with the Apache Cassandra database. Main features are: * Translation of Linq queries to CQL select statements. * All CQL functions are supported, as well as tokens and the allow filtering clause. * Consistency and Paging query behaviour can be set per query via IQueryable extensions * Linq projections (IQueryable.Select statements) can become arbitrarily complex * Generated mapping of query results to objects is extremely fast, through compiled expressions * Linq queries can be (pre-)compiled for increased performance * Snapshot-based entity change tracking is supported, allowing for easy insert, change and updates of entities * Change tracking can be switched off globally or per query * CqlSharp.Linq provides an EntityFramework like interface CqlSharp is a high performance, asynchronous Cassandra CQL binary protocol client implementing the ADO.NET data provider interfaces. See https://github.com/reuzel/CqlSharp/wiki/Features for an extensive feature list.


An NLog logging extension to process CqlSharp logs through the NLog library. CqlSharp is a high performance, asynchronous Cassandra CQL binary protocol client implementing the ADO.NET data provider interfaces. See https://github.com/reuzel/CqlSharp/wiki for details.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.41.1 21,398 1/20/2015
0.41.0 2,335 11/6/2014
0.40.1 1,696 10/15/2014
0.40.0 1,429 10/12/2014
0.39.0 1,672 9/7/2014
0.38.0 1,553 7/19/2014
0.37.0 1,819 6/9/2014
0.36.0 2,216 4/3/2014
0.35.0 1,345 3/25/2014
0.34.0 1,583 3/16/2014
0.33.0 1,531 3/11/2014
0.32.2 1,557 3/4/2014
0.32.1 1,380 2/23/2014
0.32.0 1,681 2/21/2014
0.31.0 1,329 1/20/2014
0.30.2 1,309 12/11/2013
0.30.1 1,335 11/5/2013
0.30.0 1,323 10/6/2013
0.20.1 1,331 9/24/2013
0.20.0 1,321 9/6/2013
0.14.0 1,393 7/28/2013
0.13.0 1,680 6/5/2013
0.12.0 1,371 5/27/2013
0.11.0 1,342 5/2/2013
0.10.0 1,352 3/21/2013
0.9.0 1,313 3/12/2013
0.9.0-alpha 1,195 3/10/2013

Version 0.30.0 - Binary Protocol V2 support

     * Allowing default database to be set via connectionstring, regardless of connectionstrategy in use
     * Sasl Authentication support. PasswordAuthenticator is supported out-of-the-box. Extendable via MEF by providing IAuthenticator and IAuthenticatorFactory implementations.
     * Batch support via CqlBatchTransaction. Assign the command to the CqlBatchTransaction and executes will be buffered. When CqlBatchTransaction is committed it will create and submit a batch statement.
     * Paging support. CqlCommand can be given a page size: when iterating over a query result, the data will be fetched in "chunks" of the given page size
     * Use of bound parameters with non-prepared queries
     * Support for Serial_Local for CompareAndSet (CAS) statements
     * Added CqlConnection.Shutdown methods to close all connections to Cassandra
     * Performance: when using Cql protocol v2, cached result metadata will be used, reducing network overhead
     * Performance: Prepare() better utilizes caching, less Task creation overhead
     * Fix: ChangeDatabase function uses correct use syntax
     * Fix: ConnectionStratagies are better aware of existing connections on startup.

     See https://github.com/reuzel/CqlSharp/blob/master/ChangeLog.md for the full changelog.