incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Heller <i...@zilence.net>
Subject Re: Stateful Thrift/Avro API in 0.7 (set_keyspace)
Date Tue, 06 Jul 2010 16:23:32 GMT
On Tue, Jul 6, 2010 at 6:00 PM, Jonathan Ellis <jbellis@gmail.com> 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 any language.

Well, looked at the code and switching isnt gonna be expensive so my
concern is answered.

Since set_keyspace resets login it might be "useful" to combine those
two? set_keyspace(string, optional:auth)?

Cheers,
/thomas

Mime
View raw message