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 BenjaminBlack:
http://wiki.apache.org/cassandra/API?action=diff&rev1=30&rev2=31

Comment:
Clarify semantics of reversed for SliceRange

  ||'''Attribute''' ||'''Type''' ||'''Default''' ||'''Required''' 
||'''Description''' ||
  ||`start` ||`binary` ||n/a ||Y ||The column name to start the slice with. 
This attribute is not required, though there is no default value, and can be 
safely set to `''`, i.e., an empty byte array, to start with the first column 
name.  Otherwise, it must be a valid value under the rules of the Comparator 
defined for the given `ColumnFamily`. ||
  ||`finish` ||`binary` ||n/a ||Y ||The column name to stop the slice at. This 
attribute is not required, though there is no default value, and can be safely 
set to an empty byte array to not stop until `count` results are seen. 
Otherwise, it must also be a valid value to the `ColumnFamily` Comparator. ||
- ||`reversed` ||`bool` ||`false` ||Y ||Whether the results should be ordered 
in reversed order. Similar to `ORDER BY blah DESC` in SQL. ||
+ ||`reversed` ||`bool` ||`false` ||Y ||Whether the results should be ordered 
in reversed order. Similar to `ORDER BY blah DESC` in SQL. When reversed is 
`true`, `start` will determine the right end of the range while `finish` will 
determine the left, meaning `start` must be >= `finish`.||
  ||`count` ||`integer` ||`100` ||Y ||How many columns to return. Similar to 
`LIMIT 100` in SQL. May be arbitrarily large, but Thrift will materialize the 
whole result into memory before returning it to the client, so be aware that 
you may be better served by iterating through slices by passing the last value 
of one call in as the `start` of the next instead of increasing `count` 
arbitrarily large. ||
  
  

Reply via email to