CqlSharp 0.40.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
     * Implements binary protocol v3: more queries per connection, timestamp property, UDT and Tuple types, larger collections
     * 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.
     * Query tracing, timeouts and cancellation is supported
     * 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.
     * Extensive logging, including support for custom logger implementations
     
     See https://github.com/reuzel/CqlSharp/wiki/Features for an extensive feature list.

There is a newer version of this package available.
See the version list below for details.
Install-Package CqlSharp -Version 0.40.0
dotnet add package CqlSharp --version 0.40.0
<PackageReference Include="CqlSharp" Version="0.40.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CqlSharp --version 0.40.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

## Version 0.40.0 - Cql Binary Protocol v3 and new type system
     * Implements binary protocol v3: more queries per connection, timestamp property, UDT and Tuple types, larger collections.
     * Rewrite of type system, CqlType is no longer an enum but a class with subclasses for every Cassandra type.
     * Previous CqlType enum is now called CqlTypeCode.
     * Primitive Cql types can be accessed through CqlType.* static properties. Others can be constructed from .NET class, type string, or TypeCode + parameter via the CqlType.CreateType overloads.
     * CqlParameter no longer accepts different CqlTypeCodes, but requires a single CqlType
     * Added high performance and extremely flexible type conversion that prevents boxing, and even converts collection types (e.g. hashset{int} to list{long})
     * Removed explicit references to collection key and value types. They are not used separate from the corresponding CqlTypes anymore
     * CqlDataReader.GetDataTypeName(int i) now returns full string representation of the Cassandra type (e.g. map{varchar, int=""})
     * CqlDataReader.GetFieldCqlType added that returns the CqlType used for the given field
     * Removed a lot of boxing/unboxing of primitive types during serialization/deserialization
     * Implemented DbDataReader.GetFieldValue{T}(int i)
     * Supports User Defined Types. Annotate your class with CqlUserType and CqlColumn to have it correctly mapped to a Cassandra User Defined Type
     * Guesses protocol version from release_version shortening connection setup times for older clusters
     
     ## Version 0.39.0 - Performance of sync operations
     * Many changes to have synchronous API really execute synchronously, it is no longer a sync-over-async wrapper
     * Improved exception generation in case of query cancellation or timeout
     * Logging cancelled queries
     * Fix: Adding LocalOne consistency level
     
     ...

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

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.41.1 2,654 1/20/2015
0.41.0 1,481 11/6/2014
0.40.1 800 10/15/2014
0.40.0 593 10/12/2014
0.39.0 856 9/7/2014
0.38.0 710 7/19/2014
0.37.0 899 6/9/2014
0.36.0 1,108 4/3/2014
0.35.0 606 3/25/2014
0.34.0 687 3/16/2014
0.33.0 680 3/11/2014
0.32.2 707 3/4/2014
0.32.1 656 2/23/2014
0.32.0 751 2/21/2014
0.31.0 649 1/20/2014
0.30.2 651 12/11/2013
0.30.1 638 11/5/2013
0.30.0 649 10/6/2013
0.20.1 630 9/24/2013
0.20.0 631 9/6/2013
0.14.0 708 7/28/2013
0.13.0 738 6/5/2013
0.12.0 654 5/27/2013
0.11.0 634 5/2/2013
0.10.0 660 3/21/2013
0.9.0 635 3/12/2013
0.9.0-alpha 639 3/10/2013