资 源 简 介
Introduce
This project is a high level cassandra java client lib, basic idea is make develop Cassandra based application more easy and quickly.
Basic Further
Create cassandra client pool to support high stress concurrent request.
Provide some simple wrap class to make cassandra call simple and more easy to us.
Provide some help utility to support java object serialized into cassandra.
Sample Code
```
CassandraClient cl = pool.getClient() ;
KeySpace ks = cl.getKeySpace("Keyspace1") ;
// insert value
ColumnPath cp = new ColumnPath("Standard1" , null, "testInsertAndGetAndRemove".getBytes("utf-8"));
for(int i = 0 ; i < 100 ; i++){
ks.insert("testInsertAndGetAndRemove_"+i, cp , ("testInsertAndGetAndRemove_value_"+i).getBytes("utf-8"));
}
//get value
for(int i = 0 ; i < 100 ; i++){
Column col = ks.getColum