Clojure client for the Cassandra database
Pull request Compare This branch is even with mattrepl:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src
.gitignore
LICENSE
README
build.xml

README

The clojure-cassandra project is a wrapper around the existing Java Thrift client for the Cassandra database.

Usage:

(require ['cassandra :as 'cdb])

;; Create a client and grab a table
(def client (cdb/make-client "host" port))
(def table (-> client :tables :SomeTable))

;; Put some data
(cdb/put table "key" :family {:col-a [1 2 3 4 5 "six" 7.0]})
(cdb/put table "key" :family {:col-b "another column"})

;; Get column values
(cdb/get table "key" :family [:col-a :col-b])