I would check out spring Cassandra-most of the java drivers out there for Cassandra offer very little over the new 2. driver from Datastax. Or just use the java driver 2. as is.
There's even a query builder light fluent DSL if you don't like cql. Based upon your use case description so far, I don't think you need to get too funky with your data access layer. Whatever you do, make sure the driver you use supports CQL 3 and the native protocol. Thrift, like BOP, will most likely go away at some point in the future. -- Colin 320-221-9531 > On Jun 8, 2014, at 8:58 PM, Johan Edstrom <seij...@gmail.com> wrote: > > Kevin, > > We are about to release 2.0 of https://github.com/savoirtech/hecate > It is an ASL licensed library that started with Jeff Genender writing a Pojo > library in Hector for a project we did for Ecuador (Essentially all of > Ecuador uses this). > I extended this with Pojo Graph stuff like Collections and Composite key > indexing. > > James Carman then took this a bit further in Cassidy with some new concepts. > I then a while back decided to bite the bullet and my hatred of CQL and just > write > the same thing, it started out with a very reflection and somewhat clunky > interface, > James decided to re-write this and incorporate the learnings from Cassidy. > > - Jeff, James and I all work together. This library is already in use and has > been > in use under 30 mil account circumstances as well as quite decent loads. > > What you see in trunk now under hecate-cql3 is what'll go out as 2.0, it is a > new API, > we support "single" pojo and Object graph, column modifiers, indexer and > everything > else we could think of in a library that isn't ORM but maps data to C*. > > What will be out in I think 2.0.2 is an external indexer very much like Titan > and > possibly some more real graph (vertices) stuff. We are also looking at an > SchemaIdentifier > so that we can get back to working with dynamic columns at a decent > conceptual speed :) > > /je > >> On Jun 8, 2014, at 2:46 AM, DuyHai Doan <doanduy...@gmail.com> wrote: >> >> You can have a look at Achilles, it's using the Java Driver underneath : >> https://github.com/doanduyhai/Achilles >> >> Le 8 juin 2014 04:24, "Kevin Burton" <bur...@spinn3r.com> a écrit : >> Looks like the java-driver is working on an object mapper: >> >> "More modules including a simple object mapper will come shortly." >> But of course I need one now … >> I'm curious what others are doing here. >> >> I don't want to pass around Row objects in my code if I can avoid it.. >> Ideally I would just run a query and get back a POJO. >> >> Another issue is how are these POJOs generated. Are they generated from the >> schema? is the schema generated from the POJOs ? From a side file? >> >> And granted, there are existing ORMs out there but I don't think any support >> CQL. >> >> -- >> >> Founder/CEO Spinn3r.com >> Location: San Francisco, CA >> Skype: burtonator >> blog: http://burtonator.wordpress.com >> … or check out my Google+ profile >> >> War is peace. Freedom is slavery. Ignorance is strength. Corporations are >> people. >