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 "API07" by TylerHobbs
Date Thu, 11 Nov 2010 23:32:28 GMT
Dear Wiki user,

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

The "API07" page has been changed by TylerHobbs.
http://wiki.apache.org/cassandra/API07?action=diff&rev1=7&rev2=8

--------------------------------------------------

  Like `get_range_slices`, returns a list of slices, but uses `IndexClause` instead of `KeyRange`.
To use this method, the underlying `ColumnFamily` of the `ColumnParent` must have been configured
with a column_metadata attribute, specifying at least the name and index_type attributes.
See `CfDef` and `ColumnDef` above for the list of attributes. Note: the `IndexClause` must
contain one `IndexExpression` with an `EQ` operator on a configured index column. Other `IndexExpression`
structs may be added to the `IndexClause` for non-indexed columns to further refine the results
of the `EQ` expression.  
  
  === insert ===
-  . `insert(key, column_path, value, timestamp, consistency_level)`
+  . `insert(key, column_path, column, consistency_level)`
  
- 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 can only
contain sub-Columns.
+ Insert a `Column` consisting of (`name`, `value`, `timestamp`) at the given `column_path.column_family`
and optional `column_path.super_column`.  Note that a !SuperColumn cannot directly contain
binary values -- it can only contain sub-Columns.  Only one sub-Column may be inserted at
a time, as well.
  
  === batch_mutate ===
   . `batch_mutate(mutation_map, consistency_level)`

Mime
View raw message