Skip to content
pchalamet edited this page Dec 28, 2012 · 8 revisions

What is supported by the API ?

The api supports only CQL 3.0. All operations supported by CQL 3.0 is also supported by cassandra-sharp. Async operations and efficient connection usage are supported.

Features

cassandra-sharp supports the following features:

  • .NET 4.0 + compatible
  • TPL integration (compatible with C# 5 async)
  • async operations
  • streaming support with IEnumerable<>
  • extensible rowset mapping
  • robust connection handling (connection can be recovered)

Can't find any valid endpoint

Cassandra does not enable CQL Binary Protocol by default (as of 1.2-rc2). You have to enable this feature in cassandra.yaml in order to use cassandra-sharp: start_native_transport: true

Help ! Queries are frozen !

cassandra-sharp implements a pull model to deliver data. This means if nobody is trying to pull data, cassandra-sharp won't push data. In practice this means:

  • you have to read data as soon as it is notified using ContinueWith() on the Task or
  • you have to delegate the read to a future using AsFuture() on the Task

Will cassandra-sharp support Snappy one day ?

Well, maybe. I do not feel the need to have this right now. There is almost no gain in compressing CQL query and data can be compressed other way.

Will cassandra-sharp support server notifications ?

Yes it will but in future version (probable 2.2). Meanwhile, I prefer to focus on core only.

Clone this wiki locally