cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe <watche...@gmail.com>
Subject Two dimensional matrices
Date Sun, 11 Apr 2010 23:31:25 GMT
Hello,

I would like to know if the following is indeed possible with Cassandra,
from my understanding of key & column slices it is but I am just beggining
to get my head around Cassandra...


I have data that is two dimensional, time varying (think of a grid). At each
cell of this grid,I store a binary array.
My data model will be

   - single keyspace
   - key = {Y dimension}
   - super column family = {type of data represented in each cell}
   - super column  = {time = week or month}
   - column ={X dimension}
   - value = { binary}

Will I be able to retrieve all values from a rectangle from this grid in a
single call to cassandra for given SCF and SC ? Will the result associate
each value with its key and column ?
Does it matter if it's a single call performance wise ?

Thanks
Philippe

Mime
View raw message