Re: batch_mutate in 0.7

2010-10-25 Thread Chris Oei
Thanks Gary and Jonathan. Yeah, I'm planning on switching to Hector sometime soon; I started with Thrift mostly because I wanted to see what was going on underneath the hood before using a higher-level interface. I suppose now is as good a time to switch as any. Thanks, Chris On Mon, Oct 25, 2010

Re: batch_mutate in 0.7

2010-10-25 Thread Jonathan Ellis
You want the set_keyspace method. What language are you using? We don't recommend using raw Thrift unless there's no other option. On Mon, Oct 25, 2010 at 12:59 PM, Chris Oei wrote: > So, I'm a bit puzzled about how to change my old 0.6 code to 0.7. > In 0.6, I used: >   client.batch_mutate(key

Re: batch_mutate in 0.7

2010-10-25 Thread Gary Dusbabek
client.set_keyspace() On Mon, Oct 25, 2010 at 12:59, Chris Oei wrote: > So, I'm a bit puzzled about how to change my old 0.6 code to 0.7. > In 0.6, I used: >   client.batch_mutate(keySpace, mutationMap, ConsistencyLevel.ONE); > But in 0.7, batch_mutate no longer has a keyspace argument, so I used

batch_mutate in 0.7

2010-10-25 Thread Chris Oei
So, I'm a bit puzzled about how to change my old 0.6 code to 0.7. In 0.6, I used: client.batch_mutate(keySpace, mutationMap, ConsistencyLevel.ONE); But in 0.7, batch_mutate no longer has a keyspace argument, so I used: client.batch_mutate(mutationMap, ConsistencyLevel.ONE); Not surprisingl