incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: is it possible to mutate Columns and CounterColumn in the same batch mutation?
Date Fri, 25 Mar 2011 04:50:26 GMT
You can't have them both in the same Mutation struct, but you can have
them in the map<string, list<Mutation>>> that is the "batch."

2011/3/24 Patricio Echag├╝e <patricioe@gmail.com>:
> Hi folks, I'm modeling the partitioned counters into Hector and given the
> non-inheritance of Thrift, I don't see how to add a ColumnCounter and a
> Column in the same batch mutation.
> Is it possible do achieve? or are both in fact different mutations?
> Thanks



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message