cassy: A high level driver for the Cassandra datastore

[ bsd3, database, library ] [ Propose Tags ] [ Report a vulnerability ]

The objective is to completely isolate away the thrift layer, providing a more idiomatic and naruall Haskell experience working with Cassandra. Be sure to check out the README on Github for some more explanation and Release Notes, which is helpful in talking about what this library can do.

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.Marshall: Intended to be the main high level module that you should use, Marshall allows you to pick the serialization strategy you would like to use at each function call. We recommend using casSafeCopy due to its support for evolving data types, although casJSON maybe another popular choice.

  • Database.Cassandra.JSON: (Now deprecated; use Marshall instead) 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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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, 0.5.2, 0.6, 0.7.1
Dependencies aeson, async, attoparsec (>=0.10 && <0.13), base (>=4 && <5), binary, bytestring, cassandra-thrift (>=0.8), cereal, conduit (>=1.1 && <1.2), containers, data-default, errors, exceptions, mtl, network, resource-pool, retry (>=0.5 && <0.6), safecopy, stm, syb, text, Thrift (>=0.6), time, transformers-base [details]
License BSD-3-Clause
Author Ozgun Ataman
Maintainer ozataman@gmail.com
Category Database
Home page http://github.com/ozataman/cassy
Uploaded by OzgunAtaman at 2014-09-02T06:09:08Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 7946 total (40 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]