You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2011/09/08 13:02:00 UTC

[Cassandra Wiki] Update of "API" by MarcoMatarazzo

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "API" page has been changed by MarcoMatarazzo:
http://wiki.apache.org/cassandra/API?action=diff&rev1=27&rev2=28

Comment:
Cassandra 0.7 seems to implement Mutation with vectors and not lists, to my trials.

  === batch_mutate ===
   . `batch_mutate(mutation_map, consistency_level)`
  
- Executes the specified mutations on the keyspace. `mutation_map` is a `map<string, map<string, list<Mutation>>>`; the outer map maps the key to the inner map, which maps the column family to the `Mutation`; can be read as: `map<key : string, map<column_family : string, list<Mutation>>>`.  To be more specific, the outer map key is a row key, the inner map key is the column family name.
+ Executes the specified mutations on the keyspace. `mutation_map` is a `map<string, map<string, vector<Mutation>>>`; the outer map maps the key to the inner map, which maps the column family to the `Mutation`; can be read as: `map<key : string, map<column_family : string, vector<Mutation>>>`.  To be more specific, the outer map key is a row key, the inner map key is the column family name.
  
  A `Mutation` specifies either columns to insert or columns to delete. See `Mutation` and `Deletion` above for more details.