incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Thrift API change.
Date Sun, 06 Dec 2015 21:26:16 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/v2_command [created] a3e4717bd


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/a3e4717b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/a3e4717b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/a3e4717b

Branch: refs/heads/v2_command
Commit: a3e4717bdbb030f40b91f829c0d83951161d428f
Parents: 55cc3f6
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Sun Dec 6 16:25:57 2015 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Sun Dec 6 16:25:57 2015 -0500

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


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/a3e4717b/scripts/interface/Blur.thrift
----------------------------------------------------------------------
diff --git a/scripts/interface/Blur.thrift b/scripts/interface/Blur.thrift
index 4d70a65..512c7e6 100644
--- a/scripts/interface/Blur.thrift
+++ b/scripts/interface/Blur.thrift
@@ -926,6 +926,16 @@ struct CommandDescriptor {
   6:string version
 }
 
+struct CommandTarget {
+  1:set<string> tables,
+  2:set<string> shards
+}
+
+struct CommandRequest {
+  1:string name,
+  2:CommandTarget target
+}
+
 /**
  * The Blur service API.  This API is the same for both controller servers as well as 
  * shards servers.  Each of the methods are documented.
@@ -972,6 +982,11 @@ service Blur {
    */
   oneway void refresh()
 
+  /**
+   * Executes command.
+   */
+  oneway void executeCommand(1:CommandRequest commandRequest)
+
   //Table Commands
 
   /**


Mime
View raw message