You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2022/08/09 09:39:35 UTC
[iotdb] branch master updated: [IOTDB-4054] Add some annotations for confignode.thrift (#6919)
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new a8880b51d2 [IOTDB-4054] Add some annotations for confignode.thrift (#6919)
a8880b51d2 is described below
commit a8880b51d2104995cf5e18708e5c0e228a447ebf
Author: Liao Lanyu <10...@users.noreply.github.com>
AuthorDate: Tue Aug 9 17:39:30 2022 +0800
[IOTDB-4054] Add some annotations for confignode.thrift (#6919)
---
thrift-confignode/src/main/thrift/confignode.thrift | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/thrift-confignode/src/main/thrift/confignode.thrift b/thrift-confignode/src/main/thrift/confignode.thrift
index 9967add3bc..5742d09dce 100644
--- a/thrift-confignode/src/main/thrift/confignode.thrift
+++ b/thrift-confignode/src/main/thrift/confignode.thrift
@@ -551,11 +551,23 @@ service IConfigNodeRPCService {
i64 getConfigNodeHeartBeat(i64 timestamp)
// ======================================================
- // UDF TODO: @SteveYurongSu add interface annotation
+ // UDF
// ======================================================
+ /**
+ * Create a function on all online ConfigNodes and DataNodes
+ *
+ * @return SUCCESS_STATUS if the function was created successfully
+ * EXECUTE_STATEMENT_ERROR if operations on any node failed
+ */
common.TSStatus createFunction(TCreateFunctionReq req)
+ /**
+ * Remove a function on all online ConfigNodes and DataNodes
+ *
+ * @return SUCCESS_STATUS if the function was removed successfully
+ * EXECUTE_STATEMENT_ERROR if operations on any node failed
+ */
common.TSStatus dropFunction(TDropFunctionReq req)
// ======================================================