Re: Stateful Thrift/Avro API in 0.7 (set_keyspace)

2010-07-06 Thread Thomas Heller
On Tue, Jul 6, 2010 at 6:00 PM, Jonathan Ellis wrote: > Because stateful keyspace is semantically closer to how people use it: Hmm no other reason? Writing a client-side wrapper which turns get(key, column_path, clevel) into get(@keyspace, key, column_path, clevel) is trivial in pretty much an

Re: Stateful Thrift/Avro API in 0.7 (set_keyspace)

2010-07-06 Thread Jonathan Ellis
Because stateful keyspace is semantically closer to how people use it: one keyspace per application. If Thrift allowed us to make the keyspace-per-method-call optional we could go that route, but it does not. On Tue, Jul 6, 2010 at 10:56 AM, Thomas Heller wrote: > Hey, > > I wonder if there is a

Stateful Thrift/Avro API in 0.7 (set_keyspace)

2010-07-06 Thread Thomas Heller
Hey, I wonder if there is any particular reasoning why the API (thrift/avro) will become stateful in 0.7? Granted it already is doing that for "login", but why is the keyspace argument moved to a stateful level? I wrote a ruby client to help me in my app development and while it currently just co