on the wiki http://wiki.github.com/rantav/hector/ you can find:
Example <http://github.com/rantav/hector/blob/master/src/main/java/me/prettyprint/cassandra/dao/ExampleDao.java> DAO<http://github.com/rantav/hector/blob/master/src/main/java/me/prettyprint/cassandra/dao/ExampleDao.java> <http://github.com/rantav/hector/blob/master/src/main/java/me/prettyprint/cassandra/dao/ExampleDao.java>Example simple client<http://github.com/rantav/hector/blob/master/src/main/java/me/prettyprint/cassandra/service/ExampleClient.java> <http://github.com/rantav/hector/blob/master/src/main/java/me/prettyprint/cassandra/service/ExampleClient.java>Example read all keys<http://github.com/bosyak/hector/blob/master/src/main/java/me/prettyprint/cassandra/examples/ExampleReadAllKeys.java> <http://github.com/bosyak/hector/blob/master/src/main/java/me/prettyprint/cassandra/examples/ExampleReadAllKeys.java>get all key slices for… in groups <http://pastie.org/957661> <http://pastie.org/957661>and KeyspaceTest<http://github.com/rantav/hector/blob/master/src/test/java/me/prettyprint/cassandra/service/KeyspaceTest.java> On Thu, Jun 24, 2010 at 1:12 AM, Gavan Hood <gavan.h...@gmail.com> wrote: > Hi Ran, > > I have been trialling hector but have not found the the samples you refer > to, I found your basic ExampleClient but it does not excercise many > functions for instance the getSlice, fields usage etc > > I want to develop a solid set of tests for each API call, do you have some > code that will help me build that. If my code ends up useful I intend to > publish it on my website for others to use. > > Regards > Gavan > > On Thu, Jun 24, 2010 at 4:43 AM, Ran Tavory <ran...@gmail.com> wrote: > >> As the developer of hector I can only speak in favor of my child of love >> and I haven't tried pelops so take the following with a grain of salt... >> Hector sees wide adoption and has been coined the de-facto java client. >> It's been in use in production critical systems since version 0.5.0 by a few >> companies. >> The development team is responsive and accepts patches from the community >> and is busy with new features and improvements all the time. There's a bug >> tracking system and all bugs are fixed very fast. >> There are two active mailing lists one for the developers and one for the >> users http://wiki.github.com/rantav/hector/mailing-lists (85 members) >> The project is maintained on github (http://github.com/rantav/hector) and >> the process in all is very transparent and open to the community. >> Code is well tested with an embedded version of cassandra which I >> contributed back to the main cassandra repository, it runs a mvn and an ant >> build and all release versions are available at >> http://github.com/rantav/hector/downloads including source code. We love >> contributions and want to make it as easy as possible to contribute back. >> I myself have made a few contributions to cassandra core so I'm well >> familiar with its internals, which doesn't hurt when you write a client... >> ...and finally the features (just the high level): >> - connection pooling >> - datacenter friendly >> - high level API >> - all public cassandra versions in the last 6 months >> - failover >> - simple LB >> - extensive JMX >> - well documented, many examples, wiki, mailing list, team of developers >> and contributors. >> >> ... and of course there's also thrift if you're into hacking on it... >> >> >> On Wed, Jun 23, 2010 at 5:38 PM, Serdar Irmak <sir...@protel.com.tr>wrote: >> >>> Hi >>> >>> Which java client library do you reccommend, hector or pelops and why ? >>> >>> >>> >>> Best Regards, >>> >>> >>> <http://www.protel.com.tr/> >>> >>> ------------------------------ >>> >>> *- Bu e-posta mesaji kisiye özel olup, gizli bilgiler iceriyor olabilir. >>> Eger bu e-posta mesaji size yanlislikla ulasmissa, e-posta mesajini >>> kullaniciya hemen geri gonderiniz ve mesaj kutunuzdan siliniz. **Bu e- >>> posta mesaji, **hicbir sekilde, herhangi bir amac için dagitilamaz, >>> yayinlanamaz ve para karsiligi satilamaz. Yollayici, bu e-posta >>> mesajinin - **virus koruma sistemleri ile kontrol ediliyor olsa bile - >>> **virus içermedigini garanti etmez ve meydana gelebilecek zararlardan >>> dogacak hiçbir sorumlulugu kabul etmez. >>> - The information contained in this message is confidential, intended >>> solely for the use of the individual or entity to whom it is addressed >>> and may be protected by professional secrecy. You should not copy, disclose >>> or distribute this information for any purpose. If you are not the intended >>> recipient of this message or you receive this mail in error, you should >>> refrain from making any use of the contents and from opening any attachment. >>> In that case, please notify the sender immediately and return the message to >>> the sender, then, delete and destroy all copies. This e-mail message has >>> been swept by anti-virus systems for the presence of computer viruses. In >>> doing so, however, we cannot warrant that virus or other forms of data >>> corruption may not be present and we do not take any responsibility in any >>> occurrence.* >>> ------------------------------ >>> >>> >> >> >