You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hu...@apache.org on 2022/12/29 14:37:42 UTC
[iotdb] 03/05: remove useless interface
This is an automated email from the ASF dual-hosted git repository.
hui pushed a commit to branch ml/thrift
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 6410f1d3187498fb831b3f0f58f5c2c41b775ac4
Author: Minghui Liu <li...@foxmail.com>
AuthorDate: Thu Dec 29 22:12:51 2022 +0800
remove useless interface
---
thrift-confignode/src/main/thrift/confignode.thrift | 18 ++----------------
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/thrift-confignode/src/main/thrift/confignode.thrift b/thrift-confignode/src/main/thrift/confignode.thrift
index a4c285d09a..a247d8616b 100644
--- a/thrift-confignode/src/main/thrift/confignode.thrift
+++ b/thrift-confignode/src/main/thrift/confignode.thrift
@@ -681,7 +681,7 @@ struct TDropModelReq {
}
struct TShowModelReq {
- 1: optional string queriedModelId
+ 1: optional string modelId
}
struct TModelInfo {
@@ -710,15 +710,6 @@ struct TShowTrailResp {
2: required list<TTrailInfo> trailInfoList
}
-struct TGetModelInfoReq {
- 1: required string modelId
-}
-
-struct TGetModelInfoResp {
- 1: required common.TSStatus status
- 2: required TModelInfo modelInfo
-}
-
struct TUpdateModelInfoReq {
1: required string modelId
2: required map<string, string> modelInfo
@@ -1245,18 +1236,13 @@ service IConfigNodeRPCService {
/**
* Return the model table
*/
- TShowModelResp showModels(TShowModelReq req)
+ TShowModelResp showModel(TShowModelReq req)
/**
* Return the trail table
*/
TShowTrailResp showTrail(TShowTrailReq req)
- /**
- * Return the model info by specific model id
- */
- TGetModelInfoResp getModelInfo(TGetModelInfoReq req)
-
/**
* Update the model info
*