incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From buddhasystem <potek...@bnl.gov>
Subject Re: Is column update column-atomic or row atomic?
Date Thu, 17 Mar 2011 02:00:39 GMT
Hello Peter, thanks for the note.

I'm not looking for anything fancy. It's just when I'm looking at the
following bit of Pycassa docs, it's not 100% clear to me that it won't
overwrite the entire row for the key, if I want to simply add an extra
column {'foo':'bar'} to the already existing row. I don't care about
cross-node consistency at this point.

insert(key, columns[, timestamp][, ttl][, write_consistency_level])ΒΆ

    Insert or update columns in the row with key key.

    columns should be a dictionary of columns or super columns to insert or
update. If this is a standard column family, columns should look like
{column_name: column_value}. If this is a super column family, columns
should look like {super_column_name: {sub_column_name: value}}

--
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Is-column-update-column-atomic-or-row-atomic-tp6174445p6179492.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Mime
View raw message