Lets assume a device that can give n signals at random times. We collect this data from m devices over some span of time. So our 'meta-schema' is
DeviceId : int
SignalId : int
SignalDateTime : DateTime (with mSec as YY-MM-DD HHMMSS.mm)
ExtraData : String
I want to put this data into cassandra and Im trying to understand the various ways. I'd want to be able to get data out by any combination of the three values( DeviceId, SignalId, SignalDateTime).
I can imagine using DeviceId as a row key, then pairing SignalDateTime : SignalId. But then what do I do with ExtraData? Maybe make it a supercolumn? Similarly I could create unique row keys with DeviceId and SignalDateTime but is this a reasonable way to use Cassandra?