Skip to content

drone29a/closet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Clojure client for the Cassandra database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published