Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A high level C++ client for Cassandra
C++ C
branch: master
Failed to load latest commit information.
config Initial commit.
examples Updated examples based on new api.
libcassandra Fix for on the items in issue 13.
libgenthrift Fix for compile error in generated thrift files.
m4 Fix for compile error in generated thrift files.
tests Added support for retrieving long types in a get operation.
AUTHORS Initial commit.
COPYING Initial commit.
ChangeLog Update ChangeLog
INSTALL Added an INSTALL file. Added framework for using google test for unit tests.
NEWS Initial commit.
README Update README Added utility function to ping a cassandra server to see if it is up.


== libcassandra

A C++ wrapper library for the interface to cassandra generated by thrift. This library is based on
the Java client hector.

The master branch will follow along with Cassandra trunk. Branches corresponding to stable releases
of Cassandra will be available. Downloads of these branches are also provided.

The current master and 0.7.0 branches will work with Apache Cassandra 0.7.x. 

== Install

$ ./config/
$ ./configure
$ make 
$ make install

== Running unit tests

If Google's C++ unit test framework, gtest, is installed on your machine, the unit tests can be run.

$ make check

The unit tests require a cassandra server with the default out of the box storage-conf.xml file to be running.

== Compiling apps with libcassandra

$ g++ -lcassandra -lthrift -I/usr/local/include/thfit

Obviously, you should modify the line for your include to be where your thrift headers are

== Copyright

Copyright (c) 2010 Padraig O'Sullivan. See COPYING for details.
Something went wrong with that request. Please try again.