Re: Cassandra 3.4 Triggers API

2016-07-25 Thread Jakub Narloch
timeuuid, composite_key1 TEXT, composite_key2 TEXT, composite_key3 TEXT PRIMARY KEY(timestamp_aggregate, timestamp) ) WITH CLUSTERING ORDER BY (timestamp ASC); Could you share any code snippet on how exactly you manage to extract the partition keys columns? Regards, Jakub Narloch

Cassandra 3.4 Triggers API

2016-07-25 Thread Jakub Narloch
questions: - My audit table schema defines a compound partition key, how can I create one at hand within the trigger? - What is the actual way to iterate over the insert/update column values and decode their values into Java objects? I would appreciate your help. Regards, Jakub Narloch