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 2009/09/24 14:33:50 UTC
[Cassandra Wiki] Update of "API" by Ben Eliott
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 Ben Eliott:
http://wiki.apache.org/cassandra/API?action=diff&rev1=18&rev2=19
||`column`||`Column`||n/a||N||The `Column` returned by `get()` or `get_slice()`.||
||`super_column`||`SuperColumn`||n/a||N||The `SuperColumn` returned by `get()` or `get_slice()`.||
- === BatchMutation ===
- ||'''Attribute'''||'''Type'''||'''Default'''||'''Required'''||'''Description'''||
- ||`key`||`string`||n/a||H||The key to insert data for.||
- ||`cfmap`||`map<string, list<ColumnOrSuperColumn>>`||n/a||N||A map of column family names to `ColumnOrSuperColumn` objects to insert in that !ColumnFamily.||
== Method calls ==
@@ -128, +124 @@
Insert a `Column` consisting of (`column_path.column`, `value`, `timestamp`) at the given `column_path.column_family` and optional `column_path.super_column`. Note that `column_path.column` is here required, since a !SuperColumn cannot directly contain binary values -- it con only contain sub-Columns.
=== batch_insert ===
- `batch_insert(keyspace, batch_mutation, consistency_level)`
+ `batch_insert(keyspace, key, batch_mutation, consistency_level)`
- Insert the given `batch_mutation`, which is alone among methods here in containing its own key.
+ Insert the given `batch_mutation`, this is a map which lists column family names against the relevant `ColumnOrSuperColumn` objects to insert.
+
+ `map<string, list<ColumnOrSuperColumn>>`
=== remove ===
`remove(keyspace, key, column_path, timestamp, consistency_level)`