cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5576) CREATE/DROP TRIGGER in CQL
Date Sun, 02 Jun 2013 22:22:20 GMT

    [ 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

Mime
View raw message