You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/clients/hugegraph-client.md
+37-2Lines changed: 37 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,13 @@ The `gremlin(groovy)` written by the user in `HugeGraph-Studio` can refer to the
12
12
13
13
HugeGraph-Client is the general entry for operating graph. Users must first create a HugeGraph-Client object and establish a connection (pseudo connection) with HugeGraph-Server before they can obtain the operation entry objects of schema, graph and gremlin.
14
14
15
-
Currently, HugeGraph-Client only allows connections to existing graphs on the server, and cannot create custom graphs. Its creation method is as follows:
15
+
Currently, HugeGraph-Client only allows connections to existing graphs on the server, and cannot create custom graphs. After version 1.7.0, client has supported setting graphSpace, the default value for graphSpace is DEFAULT. Its creation method is as follows:
// This is an example. In a production environment, secure credentials should be used.
224
229
.build();
225
230
226
231
SchemaManager schema = hugeClient.schema();
@@ -344,11 +349,10 @@ public class BatchExample {
344
349
}
345
350
```
346
351
347
-
### 4.4 Run The Example
352
+
####4.4 Run The Example
348
353
349
354
Before running Example, you need to start the Server. For the startup process, see[HugeGraph-Server Quick Start](/docs/quickstart/hugegraph/hugegraph-server).
350
355
351
-
### 4.5 More Information About Client-API
356
+
####4.5 More Information About Client-API
352
357
353
358
See[Introduce basic API of HugeGraph-Client](/docs/clients/hugegraph-client).
0 commit comments