The cassy package
The objective is to completely isolate away the thrift layer, providing a more idiomatic Haskell experience working with Cassandra.
Certain parts of the API was inspired by pycassa (Python client) and hscassandra (on Hackage).
A brief explanation of modules:
Database.Cassandra.Basic: Contains a low level, simple implementation of Cassandra interaction using the thrift API underneath.
Database.Cassandra.JSON: A higher level API that operates on values with ToJSON and FromJSON isntances from the aeson library. This module has in part been inspired by Bryan O'Sullivan's riak client for Haskell.
Database.Cassandra.Pool: Handles a pool of connections to multiple servers in a cluster, splitting the load among them.
Database.Cassandra.Types: A common set of types used everywhere.
Potential TODOs include:
Support for counters and batch mutators
Support for database admin operations
Support for composite column types
Properties
| Versions | 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.3.2, 0.4, 0.4.0.1, 0.5.1.0 |
|---|---|
| Dependencies | aeson, attoparsec (0.10.*), base (4.*), bytestring, cassandra-thrift (≥0.8), containers, network, stm, syb, text, Thrift (≥0.6), time, transformers |
| License | BSD3 |
| Author | Ozgun Ataman |
| Maintainer | ozataman@gmail.com |
| Category | Data |
| Home page | http://github.com/ozataman/cassy |
| Upload date | Sun Jan 22 22:38:31 UTC 2012 |
| Uploaded by | OzgunAtaman |
| Built on | ghc-7.2 |
Modules
Downloads
- cassy-0.2.0.3.tar.gz (Cabal source package)
- package description (included in the package)