cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject [4/4] git commit: Cassandra Triggers! patch by Vijay; reviewed by Jonathan Ellis for CASSANDRA-1311
Date Fri, 17 May 2013 01:20:13 GMT
Cassandra Triggers!
patch by Vijay; reviewed by Jonathan Ellis for CASSANDRA-1311

Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/72a6cff6
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/72a6cff6
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/72a6cff6

Branch: refs/heads/trunk
Commit: 72a6cff6e883320a6ceec88e41b42ca15dff1e2e
Parents: 997ab95
Author: Vijay Parthasarathy <vijay2win@gmail.com>
Authored: Thu May 16 18:19:55 2013 -0700
Committer: Vijay Parthasarathy <vijay2win@gmail.com>
Committed: Thu May 16 18:19:55 2013 -0700

----------------------------------------------------------------------
 interface/cassandra.thrift                         |    1 +
 .../org/apache/cassandra/thrift/Cassandra.java     |  952 +++++++-------
 .../org/apache/cassandra/thrift/CfDef.java         |  283 ++++-
 .../cassandra/thrift/CounterSuperColumn.java       |    4 +-
 .../org/apache/cassandra/thrift/CqlMetadata.java   |   88 +-
 .../apache/cassandra/thrift/CqlPreparedResult.java |   64 +-
 .../org/apache/cassandra/thrift/CqlResult.java     |   36 +-
 .../org/apache/cassandra/thrift/CqlRow.java        |   36 +-
 .../org/apache/cassandra/thrift/IndexClause.java   |    4 +-
 .../org/apache/cassandra/thrift/KeyRange.java      |    4 +-
 .../org/apache/cassandra/thrift/KeySlice.java      |    4 +-
 .../org/apache/cassandra/thrift/KsDef.java         |   80 +-
 .../apache/cassandra/thrift/SlicePredicate.java    |    4 +-
 .../org/apache/cassandra/thrift/SuperColumn.java   |    4 +-
 .../org/apache/cassandra/thrift/TokenRange.java    |   12 +-
 src/java/org/apache/cassandra/cli/CliClient.java   |   16 +-
 .../org/apache/cassandra/config/CFMetaData.java    |   29 +-
 .../apache/cassandra/cql/AlterTableStatement.java  |    1 +
 src/java/org/apache/cassandra/cql/CFPropDefs.java  |   12 +
 .../cassandra/cql/CreateColumnFamilyStatement.java |    9 +-
 .../org/apache/cassandra/cql/QueryProcessor.java   |    6 +-
 src/java/org/apache/cassandra/cql3/CFPropDefs.java |    4 +
 .../apache/cassandra/cql3/PropertyDefinitions.java |   10 +
 .../cassandra/cql3/statements/BatchStatement.java  |    7 +-
 .../cql3/statements/ModificationStatement.java     |    2 +-
 .../org/apache/cassandra/db/CounterMutation.java   |    5 +
 src/java/org/apache/cassandra/db/IMutation.java    |    1 +
 .../org/apache/cassandra/service/StorageProxy.java |   20 +-
 .../cassandra/service/StorageProxyMBean.java       |    2 +
 .../apache/cassandra/thrift/CassandraServer.java   |    5 +-
 .../cassandra/triggers/CustomClassLoader.java      |  113 ++
 .../org/apache/cassandra/triggers/ITrigger.java    |   31 +
 .../apache/cassandra/triggers/TriggerExecutor.java |  129 ++
 .../org/apache/cassandra/utils/FBUtilities.java    |    6 +
 .../org/apache/cassandra/cli/CliHelp.yaml          |    3 +
 35 files changed, 1262 insertions(+), 725 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/72a6cff6/interface/cassandra.thrift
----------------------------------------------------------------------
diff --git a/interface/cassandra.thrift b/interface/cassandra.thrift
index b057fa0..1e78d51 100644
--- a/interface/cassandra.thrift
+++ b/interface/cassandra.thrift
@@ -448,6 +448,7 @@ struct CfDef {
     40: optional i32 default_time_to_live,
     41: optional i32 index_interval,
     42: optional string speculative_retry="NONE",
+    43: optional set<string> trigger_class,
 
     /* All of the following are now ignored and unsupplied. */
 


Mime
View raw message