-
Notifications
You must be signed in to change notification settings - Fork 41
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.
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)
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
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
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.
Yes it will but in future version (probable 2.2). Meanwhile, I prefer to focus on core only.