incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [2/9] git commit: Thrift api change.
Date Thu, 18 Dec 2014 23:21:51 GMT
Thrift api change.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/f596e52c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/f596e52c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/f596e52c

Branch: refs/heads/master
Commit: f596e52ca31f7de7b322fd3ff6ccf106e4885302
Parents: 0109002
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Thu Dec 18 18:18:48 2014 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Thu Dec 18 18:18:48 2014 -0500

----------------------------------------------------------------------
 .../src/main/scripts/interface/Blur.thrift      | 36 ++++++++++++++++++++
 1 file changed, 36 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/f596e52c/distribution/src/main/scripts/interface/Blur.thrift
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/Blur.thrift b/distribution/src/main/scripts/interface/Blur.thrift
index ad610db..6431d28 100644
--- a/distribution/src/main/scripts/interface/Blur.thrift
+++ b/distribution/src/main/scripts/interface/Blur.thrift
@@ -1175,6 +1175,42 @@ service Blur {
   ) throws (1:BlurException ex)
 
   /**
+   * Starts a transaction for update (e.g. Mutate).  Returns a transaction id.
+   */
+  void bulkMutateStart(
+    /** The table name. */
+    1:string table, 
+    /** The bulk id. */
+    2:string bulkId
+  ) throws (1:BlurException ex)
+
+  /**
+   * Adds to the specified transaction.  The 
+   */
+  void bulkMutateAdd(
+    /** The table name. */
+    1:string table,
+    /** The bulk id. */
+    2:string bulkId, 
+    /** The row mutation. */
+    3:RowMutation rowMutation
+  ) throws (1:BlurException ex)
+
+  /**
+   * Finishes the bulk mutate.  If apply is true the mutations are applied and committed.
 If false the bulk mutate is deleted and not applied.
+   */
+  void bulkMutateFinish(
+    /** The table name. */
+    1:string table,
+    /** The bulk id. */
+    2:string bulkId,
+    /** Apply the bulk mutate flag. */
+    3:bool apply,
+    /** If true this call will not block on bulk completion.  This may be required for loader
bulk loads. */
+    4:bool blockUntilComplete
+  ) throws (1:BlurException ex)
+
+  /**
    * Cancels a query that is executing against the given table with the given uuid.  Note,
the 
    * cancel call maybe take some time for the query actually stops executing.
    */


Mime
View raw message