I cannot Display the Book page you are referring to, but your General 
understanding is correct. A Range Refers to several rows, a slice Refers to 
several columns. A RangeSlice is a combination of Both. From all rows in a 
Range get a specific slice of columns.

Am 25.05.2011 um 10:43 schrieb "david lee" 
<iecan...@gmail.com<mailto:iecan...@gmail.com>>:

hi guys,

i'm reading up on the book "Cassandra - Definitive guide"
and i don't seem to understand what it says about "ranges and slices"

my understanding is
a range as in "a mathematical range to define a subset from an ordered set of 
elements",
in cassandra typically means a range of rows whereas
a slice means a range of columns.

a range query refers to a query to retrieve a range of rows whereas
a slice range queyr refers to a query to retrieve range of columns within a row.

i may be talking about total nonsense but i really am more confused after 
reading this portion of the book
<http://books.google.com/books?id=MKGSbCbEdg0C&pg=PA134&lpg=PA134&dq=cassandra+%22range+query%22+%22range+slice%22&source=bl&ots=XoPB4uA60u&sig=uDDoQe0FRkQobHnr-vPvvQ3B8TQ&hl=en&ei=ub3cTcvGLZLevQOuxs3CDw&sa=X&oi=book_result&ct=result&resnum=4&ved=0CCwQ6AEwAw#v=onepage&q=cassandra%20%22range%20query%22%20%22range%20slice%22&f=false>http://books.google.com/books?id=MKGSbCbEdg0C&pg=PA134&lpg=PA134&dq=cassandra+%22range+query%22+%22range+slice%22&source=bl&ots=XoPB4uA60u&sig=uDDoQe0FRkQobHnr-vPvvQ3B8TQ&hl=en&ei=ub3cTcvGLZLevQOuxs3CDw&sa=X&oi=book_result&ct=result&resnum=4&ved=0CCwQ6AEwAw#v=onepage&q=cassandra%20%22range%20query%22%20%22range%20slice%22&f=false

many thanx in advance
david

Reply via email to