cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Cassandra Wiki] Update of "API" by JoeStump
Date Tue, 25 Aug 2009 15:25:52 GMT
Dear Wiki user,

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

The following page has been changed by JoeStump:

The comment on the change is:
Added notes about SlicePredicates.

  === SlicePredicate ===
+ A `SlicePredicate` is similar to a [
mathematic predicate], which is described as:
+     Sometimes it is inconvenient or impossible to describe a set by listing all of its elements.
Another useful way to define a set is by specifying a property that the elements of the set
have in common.
+ `SlicePredicate`'s in Cassandra are described with either a list of `column_names`, a `SliceRange`,
or both.
  ||`column_names`||`list`||n/a||N||A list of column names to retrieve. This can be used similar
to Memcached's "multi-get" feature to fetch N known column names. For instance, if you know
you wish to fetch columns 'Joe', 'Jack', and 'Jim' you can pass those column names as a list
to fetch all three at once.||
  ||`slice_range`||`SliceRange`||n/a||N||A `SliceRange` describing how to range, order, and/or
limit the slice.||

View raw message