incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Gude <roland.g...@yoochoose.com>
Subject Re: "range query" vs "slice range query"
Date Wed, 25 May 2011 13:57:15 GMT
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" <iecanfly@gmail.com<mailto:iecanfly@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

Mime
View raw message