cassy: A high level driver for the Cassandra datastore

[ bsd3, database, library ] [ Propose Tags ]

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


Maintainer's Corner

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,, 0.3.2, 0.4,,, 0.5.2, 0.6, 0.7.1
Dependencies aeson, attoparsec (>=0.10 && <0.11), base (>=4 && <5), binary, bytestring, cassandra-thrift (>=0.8), containers, data-default, errors, mtl, network, resource-pool, stm, syb, text, Thrift (>=0.6), time [details]
License BSD-3-Clause
Author Ozgun Ataman
Category Data
Home page
Uploaded by OzgunAtaman at 2012-08-21T04:59:52Z
Distributions NixOS:0.7.1
Downloads 7436 total (32 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]