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).
Please see the Github repository for more detailed documentation, release notes and examples.
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.Pack: Handles column types that Cassandra recognizes and adds support for Composite Columns.
Database.Cassandra.Types: A common set of types used everywhere.
Potential TODOs include:
Support for counters and batch mutators
Support for database admin operations
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.*), binary, bytestring, cassandra-thrift (≥0.8), containers, data-default, errors, mtl, network, resource-pool, stm, syb, text, Thrift (≥0.6), time |
| License | BSD3 |
| Author | Ozgun Ataman |
| Maintainer | ozataman@gmail.com |
| Category | Data |
| Home page | http://github.com/ozataman/cassy |
| Upload date | Tue Aug 21 04:59:52 UTC 2012 |
| Uploaded by | OzgunAtaman |
| Built on | ghc-7.4 |
Modules
Downloads
- cassy-0.4.0.1.tar.gz (Cabal source package)
- package description (included in the package)