incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Vipurs <zodiac...@gmail.com>
Subject Slice Query
Date Wed, 24 Mar 2010 09:57:46 GMT
Hi all,

I've just started playing with Cassandra and investigating if it's
useful for us, so please be gentle when I ask silly questions :).

When user super columns is it possible to perform a slice operation to
pull out all SC's/Keys that match a specific/range of column names?
Putting it more concretely, if I had:

ColumnFamily {
   'key1' {
      'SuperColumn1' {
         'Column1' : <somevalue>
         'Column2' : <somevalue>
      }
      'SuperColumn2' {
         'Column3' : <somevalue>
      }
   }
   'key2' {
      'SuperColumn1' {
         'Column1' : <somevalue>
      }
    }
}

Could I get all keys/supercolumns where 'Column1' exists? fyi I'm
using the Hector Java client for my work.

Thanks



-- 
Maybe she awoke to see the roommate's boyfriend swinging from the
chandelier wearing a boar's head.

Something which you, I, and everyone else would call "Tuesday", of course.

Mime
View raw message