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).

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


  • Database
    • Cassandra
      • Database.Cassandra.Basic
      • Database.Cassandra.JSON
      • Database.Cassandra.Pool
      • Database.Cassandra.Types


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), bytestring, cassandra-thrift (>=0.8), containers, network, stm, syb, text, Thrift (>=0.6), time, transformers [details]
License BSD-3-Clause
Author Ozgun Ataman
Category Data
Uploaded by OzgunAtaman at 2012-01-20T16:19:03Z
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 not available [build log]
All reported builds failed as of 2016-12-25 [all 8 reports]