incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravikumar Govindarajan <ravikumar.govindara...@gmail.com>
Subject Composite Column Grouping
Date Tue, 10 Sep 2013 13:21:35 GMT
I have been faced with a problem of grouping composites on the second-part.

Lets say my CF contains this


TimeSeriesCF
                       key:                            UserID
                       composite-col-name:    TimeUUID:PKID

Some sample data

UserID = XYZ
                                 Time:PKID
               Col-Name1 = 200:1000
               Col-Name2 = 201:1001
               Col-Name3 = 202:1000
               Col-Name4 = 203:1000
               Col-Name5 = 204:1002

Whenever a time-series query is issued, it should return the following in
time-desc order.

UserID = XYZ
              Col-Name5 = 204:1002
              Col-Name4 = 203:1000
              Col-Name2 = 201:1001

Is something like this possible in Cassandra? Is there a different way to
design and achieve the same objective?

--
Ravi

Mime
View raw message