question

neerajk22 avatar image
neerajk22 asked neerajk22 edited

Is there any Cassandra TRIGGER example with .Net?

How Cassandra triggers works with Dot Net, any example ?

I want some more details around Cassandra triggers and how it works with Dot Net (c#) any example article or documentation will be helpful.

csharp drivertriggers
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

Cassandra triggers get executed on the server side, not in your application. The coordinator node executes the trigger before applying mutations (inserts, updates or deletes).

You need to implement the code which backs the TRIGGER that you create in Java and needs to be placed in the triggers/ subdirectory on each Cassandra node.

For details, see CQL CREATE TRIGGER. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.