首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 一个高水平的卡桑德拉java客户端,目标是使java卡桑德拉开发更简单快捷。

一个高水平的卡桑德拉java客户端,目标是使java卡桑德拉开发更简单快捷。

资 源 简 介

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

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP