You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Vijay (JIRA)" <ji...@apache.org> on 2013/06/03 00:22:20 UTC

[jira] [Commented] (CASSANDRA-5576) CREATE/DROP TRIGGER in CQL

    [ https://issues.apache.org/jira/browse/CASSANDRA-5576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672699#comment-13672699 ] 

Vijay commented on CASSANDRA-5576:
----------------------------------

Alright i have pushed the changes to https://github.com/Vijay2win/cassandra/commits/5576

The trigger schematics is as follows:
{code}
CREATE TRIGGER index_logger ON "Keyspace1"."Standard1" EXECUTE ('org.apache.cassandra.triggers.InvertedIndex', 'org.apache.cassandra.triggers.LogColumnUpdates'); 
DROP TRIGGER index_logger ON "Keyspace1"."Standard1";
{code}

CLI
{code}
update column family Standard1 with triggers='{"test":["org.apache.cassandra.triggers.InvertedIndex","org.apache.cassandra.triggers.LogColumnUpdates"]}';
{code}
                
> CREATE/DROP TRIGGER in CQL
> --------------------------
>
>                 Key: CASSANDRA-5576
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5576
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API, Core
>            Reporter: Jonathan Ellis
>            Assignee: Vijay
>             Fix For: 2.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira