Skip to content

Commit

Permalink
docs: update OpenMLDBSdk reference
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Ferdman <[email protected]>
  • Loading branch information
emmanuel-ferdman committed Oct 30, 2024
1 parent 613250a commit 9eb62b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en/developer/sdk_develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Due to the complexity of the implementation of the SDK Layer, we didn't develop

Java Wrapper is implemented as [SqlClusterExecutor](https://github.com/4paradigm/OpenMLDB/blob/main/java/openmldb-jdbc/src/main/java/com/_4paradigm/openmldb/sdk/impl/SqlClusterExecutor.java). It is a simple wrapper of `sql_router_sdk`, including the conversion of input types, the encapsulation of returned results, the encapsulation of returned errors.

Python Wrapper is implemented as [OpenMLDBSdk](https://github.com/4paradigm/OpenMLDB/blob/main/python/openmldb/sdk/sdk.py). Like the Java Wrapper, it is a simple wrapper as well.
Python Wrapper is implemented as [OpenMLDBSdk](https://github.com/4paradigm/OpenMLDB/blob/main/python/openmldb_sdk/openmldb/sdk/sdk.py). Like the Java Wrapper, it is a simple wrapper as well.

### User Layer
Although the Wrapper Layer can be used directly, it is not convenient enough. So, we develop another layer, the User Layer of the Java/Python SDK.
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/developer/sdk_develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ OpenMLDB的SDK,可以分为几层,如图所示。我们将从下层往上依

Java Wrapper具体实现为[SqlClusterExecutor](https://github.com/4paradigm/OpenMLDB/blob/main/java/openmldb-jdbc/src/main/java/com/_4paradigm/openmldb/sdk/impl/SqlClusterExecutor.java)。可以看到,它仅仅是对`sql_router_sdk`调用的简单封装,比如,对输入类型的转换,对返回结果的封装,对返回错误的封装。

Python Wrapper具体实现为[OpenMLDBSdk](https://github.com/4paradigm/OpenMLDB/blob/main/python/openmldb/sdk/sdk.py)。和Java Wrapper类似,它也只是简单的封装。
Python Wrapper具体实现为[OpenMLDBSdk](https://github.com/4paradigm/OpenMLDB/blob/main/python/openmldb_sdk/openmldb/sdk/sdk.py)。和Java Wrapper类似,它也只是简单的封装。

### 用户层
Wrapper层是可以直接使用的,但不够方便。所以,我们再提供了一层,Java/Python SDK的用户层。
Expand Down

0 comments on commit 9eb62b0

Please sign in to comment.