cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "API" by MarcoMatarazzo
Date Thu, 08 Sep 2011 11:02:00 GMT
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.
  

Mime
View raw message