cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r924628 - in /cassandra/branches/cassandra-0.6/interface: cassandra.thrift thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java
Date Thu, 18 Mar 2010 04:04:48 GMT
Author: jbellis
Date: Thu Mar 18 04:04:48 2010
New Revision: 924628

URL: http://svn.apache.org/viewvc?rev=924628&view=rev
Log:
add docstring to batch_mutate.  patch by James Golick; reviewed by jbellis for CASSANDRA-904

Modified:
    cassandra/branches/cassandra-0.6/interface/cassandra.thrift
    cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java

Modified: cassandra/branches/cassandra-0.6/interface/cassandra.thrift
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/interface/cassandra.thrift?rev=924628&r1=924627&r2=924628&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/interface/cassandra.thrift (original)
+++ cassandra/branches/cassandra-0.6/interface/cassandra.thrift Thu Mar 18 04:04:48 2010
@@ -407,6 +407,11 @@ service Cassandra {
               5:ConsistencyLevel consistency_level=ZERO)
        throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException
te),
 
+  /**
+    Mutate many columns or super columns for many row keys. See also: Mutation.
+
+    mutation_map maps key to column family to a list of Mutation objects to take place at
that scope.
+  **/
   void batch_mutate(1:required string keyspace,
                     2:required map<string, map<string, list<Mutation>>>
mutation_map,
                     3:required ConsistencyLevel consistency_level=ZERO)

Modified: cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java?rev=924628&r1=924627&r2=924628&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java
(original)
+++ cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java
Thu Mar 18 04:04:48 2010
@@ -172,6 +172,16 @@ public class Cassandra {
      */
     public void remove(String keyspace, String key, ColumnPath column_path, long timestamp,
ConsistencyLevel consistency_level) throws InvalidRequestException, UnavailableException,
TimedOutException, TException;
 
+    /**
+     *   Mutate many columns or super columns for many row keys. See also: Mutation.
+     * 
+     *   mutation_map maps key to column family to a list of Mutation objects to take place
at that scope.
+     * *
+     * 
+     * @param keyspace
+     * @param mutation_map
+     * @param consistency_level
+     */
     public void batch_mutate(String keyspace, Map<String,Map<String,List<Mutation>>>
mutation_map, ConsistencyLevel consistency_level) throws InvalidRequestException, UnavailableException,
TimedOutException, TException;
 
     /**



Mime
View raw message