cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maciej Miklas <mac.mik...@googlemail.com>
Subject Cassandra - row range and column slice
Date Fri, 17 Feb 2012 10:46:02 GMT
Hallo,

assuming Ordered Partitioner I would like to have possibility to find
records by row key range and columns by slice - for example:

Give me all rows between 2001 and 2003 and all columns between A and C.

For such data:
{
  2001: {A:"v1", Z:"v2"},
  2002: {R:"v2", Z:"v3"},
  2003: {C:"v4", Z:"v5"},
  2004: {A:"v1",B:"v33", Z:"v2"}
}
Result would be:
  2001: {A:"v1""},
  2003: {C:"v4"}

Is such multi-slice query possible with Cassandra?  Are there any
performance Issues (bedsides unbalanced cluster)?

Thanks,
Maciej

Mime
View raw message