I've been fallowing the example trigger code for the latest Cassandra release https://github.com/apache/cassandra/blob/trunk/examples/triggers/src/org/apache/cassandra/triggers/AuditTrigger.java and I want to basically perform the same logic, but I got stack because my schema contains a composite key.
The question is how can I create the composite key and pass it into RowUpdateBuilder within the trigger?
The schema of the audit table looks as fallows:
CREATE TABLE audit_table (
aggregate bigint,
create_date timeuuid,
...
PRIMARY KEY(aggregate, create_date)
) WITH CLUSTERING ORDER BY (create_date ASC);