Cassius is a clojure wrapper around cassandra's thrift interface. It treats cassandra as a big mutable nested hashmap and provides the following abstractions:

  • cassandra data and schema can be represented as values and clojure maps.
  • keyspaces, column families, rows and columns can be abstracted as nested map layers
  • supercolumns are just one extra level of nesting

The library has been used for both mocking and for higher level abstractions on top of cassandra.