Re: Object mapper for CQL

2014-06-09 Thread Kevin Burton
Wow… this was an interesting thread! There are tons of options here.. interesting that I wasn't able to find them. What I ended up doing was just banging out a code generator that uses Velocity templates that generates POJOs and uses Jackson and standard naming conventions to mirror objects. It'

Re: Object mapper for CQL

2014-06-08 Thread Colin
Sounds like you've done some great work. But I still think it's a good idea for people new to Cassandra establish a base line so that they have something to compare other approaches against. It sounds like we potentially have different views in this regard, but are still interested in the same

Re: Object mapper for CQL

2014-06-08 Thread Johan Edstrom
On a second reply I'll provide some docs. We looked at Astynax (Yeah I didn't like the refactor) We looked at spring - "Are you fucking kidding me?" We have done quite a bit of work in the ORM arena. * I passionately hate the idea of CQL. * So - I told myself, I need to make this work so I neve

Re: Object mapper for CQL

2014-06-08 Thread Johan Edstrom
So - you deduced that we were not using the driver, were not datstax friendly and we'd be paying for this down the road? On Jun 8, 2014, at 9:05 PM, Colin wrote: > I wasn't responding as a Datastax employee. > > I have used hector, Achilles and a few others as well. The .net drivers used > t

Re: Object mapper for CQL

2014-06-08 Thread Colin
I wasn't responding as a Datastax employee. I have used hector, Achilles and a few others as well. The .net drivers used to have an edge, but that is evaporating as well. I have also built my own mapping layers. But all if that was when the drivers from Datastax weren't there yet. Yes, I work

Re: Object mapper for CQL

2014-06-08 Thread Colin
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

Re: Object mapper for CQL

2014-06-08 Thread Johan Edstrom
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 Collection

Re: Object mapper for CQL

2014-06-08 Thread DuyHai Doan
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" a écrit : > Looks like the java-driver is working on an object mapper: > > "More modules including a simple object mapper will come shortly." > But

Re: Object mapper for CQL

2014-06-07 Thread Kuldeep Mishra
There is one High Level Java client for Cassandra which supports CQL is Kundera. You can find it here https://github.com/impetus-opensource/Kundera. Other useful links are https://github.com/impetus-opensource/Kundera/wiki/Getting-Started-in-5-minutes https://github.com/impetus-opensource/Kundera/

Object mapper for CQL

2014-06-07 Thread Kevin Burton
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 qu