kreynolds/cassandra-cql — pull request #40 by outoftime (2013-01-07 15:07:28+00:00)
Title: Binary protocol (incomplete)

Hey Kelley,

This isn't an actual pull request, but I just wanted to let you know that I spent some time this weekend working on supporting the new CQL binary protocol in cassandra-cql. What I've got here so far is very much incomplete, particularly in terms of integrating with the rest of the library (I started messing around with it in isolation, but I definitely think it makes sense as a component of cassandra-cql rather than a separate library, as cassandra-cql does a lot that is agnostic to the Thrift protocol).

So far I've been trying to take as light a touch as possible in terms of modifying the existing cassandra-cql code, but it's looking like it might make sense to restructure a bit to isolate the parts of the library that are Thrift-specific (and provide alternate implementations that are compatible with the binary protocol). I'd welcome any input you have in terms of what I've got here so far and your preferences for how to move forward. I think it would be great to structure the library so that it would be straightforward to drop in Hector or the Java binary client in JRuby as well.

Not to worry if you don't have time to look at this right now -- I'll continue working on it either way -- but I just wanted to keep you up to speed to avoid any duplication of effort if nothing else.

Happy new year!
Mat