incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drew Kutcharian <>
Subject Data Modeling: How to keep track of arbitrarily inserted column names?
Date Thu, 04 Apr 2013 18:18:55 GMT
Hey Guys,

I'm working on a project and one of the requirements is to have a schema free CF where end
users can insert arbitrary key/value pairs per row. What would be the best way to know what
are all the "keys" that were inserted (preferably w/o any locking). For example,

Row1 => key1 -> XXX, key2 -> XXX
Row2 => key1 -> XXX, key3 -> XXX
Row3 => key4 -> XXX, key5 -> XXX
Row4 => key2 -> XXX, key5 -> XXX

The query would be give me all the inserted keys and the response would be {key1, key2, key3,
key4, key5}



View raw message