-
Notifications
You must be signed in to change notification settings - Fork 115
docs: refactor docs of loader & client for new version(1.7.0) #415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+168
−39
Merged
Changes from 3 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
07213c0
fixed mvn version to 1.7.0
sadwitdastreetz 17af21d
fixed wrong formats & spellings
sadwitdastreetz 86ab30f
fixed errors && removed useless examples
sadwitdastreetz d412916
edited according to review
sadwitdastreetz 0fc05c9
fixed formats problems
sadwitdastreetz db852d6
update loader doc for loadSource(graph) && loadOptions
sadwitdastreetz cf8d674
fixed minor errors
sadwitdastreetz 5c53fcd
(fix):error in parameter description
sadwitdastreetz 13ef946
(fix): wrong countings && indentation
sadwitdastreetz acbfac9
(fix): wrong explanation for client building
sadwitdastreetz 952f68b
checked
sadwitdastreetz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,7 +48,7 @@ weight: 1 | |
| <groupId>org.apache.hugegraph</groupId> | ||
| <artifactId>hugegraph-client</artifactId> | ||
| <!-- Update to the latest release version --> | ||
| <version>1.5.0</version> | ||
| <version>1.7.0</version> | ||
| </dependency> | ||
| </dependencies> | ||
| ``` | ||
|
|
@@ -78,7 +78,8 @@ public class SingleExample { | |
|
|
||
| public static void main(String[] args) throws IOException { | ||
| // If connect failed will throw a exception. | ||
| HugeClient hugeClient = HugeClient.builder("http://localhost:8080", | ||
| HugeClient hugeClient = HugeClient.builder("http://127.0.0.1:8080", | ||
sadwitdastreetz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "DEFAULT", | ||
| "hugegraph") | ||
| .build(); | ||
|
|
||
|
|
@@ -224,8 +225,8 @@ public class BatchExample { | |
| public static void main(String[] args) { | ||
| // If connect failed will throw a exception. | ||
| HugeClient hugeClient = HugeClient.builder("http://localhost:8080", | ||
| "hugegraph") | ||
| .build(); | ||
| "DEFAULT", | ||
| "hugegraph").build(); | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这里的缩进与上下文不一致,建议使用相同的缩进风格: ```suggestion 应保持一致的缩进,使用空格对齐。 |
||
| SchemaManager schema = hugeClient.schema(); | ||
|
|
||
|
|
@@ -348,12 +349,12 @@ public class BatchExample { | |
| } | ||
| ``` | ||
|
|
||
| ### 4.4 运行 Example | ||
| #### 4.4 运行 Example | ||
imbajin marked this conversation as resolved.
Show resolved
Hide resolved
imbajin marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| 运行 Example 之前需要启动 Server, | ||
| 启动过程见[HugeGraph-Server Quick Start](/cn/docs/quickstart/hugegraph-server) | ||
|
|
||
| ### 4.5 详细 API 说明 | ||
| #### 4.5 详细 API 说明 | ||
|
|
||
| 示例说明见[HugeGraph-Client 基本 API 介绍](/cn/docs/clients/hugegraph-client) | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.