forked from minaguib/libcassandra
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME
More file actions
48 lines (30 loc) · 1.17 KB
/
README
File metadata and controls
48 lines (30 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
== 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. . Internal libgenthrift
generated by thrift 0.5.0
== Install
$ ./config/autorun.sh
$ ./configure
or
$ ./autogen.sh
or (for more FHS layouts)
$ ./config/pld_like_autorun.sh
and:
$ make
$ make install
To build test/example programs run:
$ make check
== Running unit tests
(Not mainteined)
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++ file.cc -lcassandra -I/usr/include/thrift/
Obviously, you should modify the line for your include to be where your thrift headers are
installed.
== Copyright
Copyright (c) 2010 Padraig O'Sullivan. See COPYING for details.