From 04c558c3d05c385bbcb17413ead67faee97bd48f Mon Sep 17 00:00:00 2001 From: Math&Code <84509280+Alita-Nan@users.noreply.github.com> Date: Wed, 27 Apr 2022 10:37:53 +0800 Subject: [PATCH 1/3] Update hugegraph-client.md Translate the quick start of client. --- .../en/docs/quickstart/hugegraph-client.md | 40 +++++++++---------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/content/en/docs/quickstart/hugegraph-client.md b/content/en/docs/quickstart/hugegraph-client.md index 5d2125fb1..910bbee7f 100644 --- a/content/en/docs/quickstart/hugegraph-client.md +++ b/content/en/docs/quickstart/hugegraph-client.md @@ -4,37 +4,35 @@ linkTitle: "Develop with HugeGraph-Client" weight: 6 --- -### 1 HugeGraph-Client概述 +### 1 Overview Of Hugegraph -HugeGraph-Client向HugeGraph-Server发出HTTP请求,获取并解析Server的执行结果。目前仅提供了Java版,用户可以使用HugeGraph-Client编写Java代码操作HugeGraph,比如元数据和图数据的增删改查,或者执行gremlin语句。 +HugeGraph-Client sends HTTP request to HugeGraph-Server to obtain and parse the execution result of Server. Currently only the Java version is provided. You can use HugeGraph-Client to write Java code to operate HugeGraph, such as adding, deleting, modifying, and querying metadata and graph data, or executing gremlin statements. -### 2 环境要求 +### 2 What You Need - jdk1.8 - maven-3.3.9 -### 3 使用流程 +### 3 How To Use -使用HugeGraph-Client的基本步骤如下: +The basic steps to use HugeGraph-Client are as follows: -- 新建Eclipse/ IDEA Maven项目; -- 在pom文件中添加HugeGraph-Client依赖; -- 创建类,调用HugeGraph-Client接口; +- Build a new maven project by IDEA or eclipse +- Add HugeGraph-Client dependency in pom file; +- Create a object to invoke the interface of HugeGraph-Client -详细使用过程见下节完整示例。 +See the complete example in the following section for the detail. -### 4 完整示例 +### 4 Complete Example -#### 4.1 新建Maven工程 +#### 4.1 Build New Maven Project -可以选择Eclipse或者Intellij Idea创建工程: +Using IDEA or Eclipse to create the project: -- [Eclipse新建Maven工程](http://www.vogella.com/tutorials/EclipseMaven/article.html) -- [Intellij Idea 创建maven工程](https://vaadin.com/docs/-/part/framework/getting-started/getting-started-idea.html) +- [Build by eclipse](http://www.vogella.com/tutorials/EclipseMaven/article.html) +- [Build by Intellij Idea](https://vaadin.com/docs/-/part/framework/getting-started/getting-started-idea.html) -#### 4.2 添加hugegraph-client依赖 - -添加hugegraph-client依赖 +#### 4.2 Add Hugegraph-Client Dependency In POM ```xml @@ -340,11 +338,11 @@ public class BatchExample { } ``` -### 4.4 运行Example +### 4.4 Run The Example -运行Example之前需要启动Server, 启动过程见[HugeGraph-Server Quick Start](/docs/quickstart/hugegraph-server) +Before running Example, you need to start the Server. For the startup process, see[HugeGraph-Server Quick Start](/docs/quickstart/hugegraph-server) -### 4.5 Example示例说明 +### 4.5 More Information About Example -示例说明见[HugeGraph-Client基本API介绍](/docs/clients/hugegraph-client) +See[Introduce basic api of HugeGraph-Client](/docs/clients/hugegraph-client) From 3e630ecc4622eb988a052eaf222555a5ab1e4567 Mon Sep 17 00:00:00 2001 From: Nan Date: Wed, 27 Apr 2022 23:27:03 +0800 Subject: [PATCH 2/3] Translate client.md into english --- content/en/docs/quickstart/hugegraph-client.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/en/docs/quickstart/hugegraph-client.md b/content/en/docs/quickstart/hugegraph-client.md index 910bbee7f..a155433e7 100644 --- a/content/en/docs/quickstart/hugegraph-client.md +++ b/content/en/docs/quickstart/hugegraph-client.md @@ -6,18 +6,18 @@ weight: 6 ### 1 Overview Of Hugegraph -HugeGraph-Client sends HTTP request to HugeGraph-Server to obtain and parse the execution result of Server. Currently only the Java version is provided. You can use HugeGraph-Client to write Java code to operate HugeGraph, such as adding, deleting, modifying, and querying metadata and graph data, or executing gremlin statements. +HugeGraph-Client sends HTTP request to HugeGraph-Server to obtain and parse the execution result of Server. Currently only the HugeGraph-Client for Java is provided. You can use HugeGraph-Client to write Java code to operate HugeGraph, such as adding, deleting, modifying, and querying schema and graph data, or executing gremlin statements. ### 2 What You Need -- jdk1.8 -- maven-3.3.9 +- JDK1.8 +- Maven-3.3.9 ### 3 How To Use The basic steps to use HugeGraph-Client are as follows: -- Build a new maven project by IDEA or eclipse +- Build a new Maven project by IDEA or Eclipse - Add HugeGraph-Client dependency in pom file; - Create a object to invoke the interface of HugeGraph-Client @@ -29,7 +29,7 @@ See the complete example in the following section for the detail. Using IDEA or Eclipse to create the project: -- [Build by eclipse](http://www.vogella.com/tutorials/EclipseMaven/article.html) +- [Build by Eclipse](http://www.vogella.com/tutorials/EclipseMaven/article.html) - [Build by Intellij Idea](https://vaadin.com/docs/-/part/framework/getting-started/getting-started-idea.html) #### 4.2 Add Hugegraph-Client Dependency In POM From ebdac92c33982eb33836a03c9501bdbcf0bcec7b Mon Sep 17 00:00:00 2001 From: Math&Code Date: Sun, 1 May 2022 19:37:02 +0800 Subject: [PATCH 3/3] Translate client.md into english --- content/en/docs/quickstart/hugegraph-client.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/quickstart/hugegraph-client.md b/content/en/docs/quickstart/hugegraph-client.md index a155433e7..bfa053d82 100644 --- a/content/en/docs/quickstart/hugegraph-client.md +++ b/content/en/docs/quickstart/hugegraph-client.md @@ -340,9 +340,9 @@ public class BatchExample { ### 4.4 Run The Example -Before running Example, you need to start the Server. For the startup process, see[HugeGraph-Server Quick Start](/docs/quickstart/hugegraph-server) +Before running Example, you need to start the Server. For the startup process, see[HugeGraph-Server Quick Start](/docs/quickstart/hugegraph-server). ### 4.5 More Information About Example -See[Introduce basic api of HugeGraph-Client](/docs/clients/hugegraph-client) +See[Introduce basic API of HugeGraph-Client](/docs/clients/hugegraph-client).