Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit 013b9cb

Browse files
committed
cleanup unused client methods
1 parent 29cbf48 commit 013b9cb

File tree

7 files changed

+105
-557
lines changed

7 files changed

+105
-557
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ An implementation of the [Apache TinkerPop OLTP Provider](https://tinkerpop.apac
77
## Compatibility
88

99
This Provider supports:
10-
* Apache TinkerPop 3.3
10+
* Apache TinkerPop 3.7
1111
* ArangoDB 3.11+ (via ArangoDB Java Driver 7.17.0).
1212

1313
## ArangoDB
@@ -101,21 +101,24 @@ graph.close();
101101
## A note on element IDs
102102

103103
The provider implementation supports user supplied IDs, i.e. provide an id property for graph
104-
elements, but currently we only support String ids, that is:
104+
elements, but we only support String ids, that is:
105105

106106
```
107107
Vertex v1 = g.addV("person").property(T.id, "1");
108108
```
109109

110110

111-
will create a vertex with id "1". However, implementation wise, in ArangoDB we are only allowed to manipulate the documents `name`, not its `id`. For this reason, providing a TinkerPop vertex id (`T.id`) actually sets the vertex's ArangoDB `name`. As a result, retrieving the vertex by the given id will fail:
111+
will create a vertex with id "1". However, implementation wise, in ArangoDB we are only allowed to manipulate the
112+
documents `name`, not its `id`. For this reason, providing a TinkerPop vertex id (`T.id`) actually sets the vertex's
113+
ArangoDB `name`. As a result, retrieving the vertex by the given id will fail:
112114

113115
```
114116
Vertex v2 = g.V("1");
115117
assert v2 == null;
116118
```
117119

118-
Since we know that documents IDs are created by concatenating (with a slash) the document's collection and its name, then we can find the vertex like so:
120+
Since we know that documents IDs are created by concatenating (with a slash) the document's collection and its name,
121+
then we can find the vertex like so:
119122

120123
```
121124
Vertex v2 = g.V("person/1");

0 commit comments

Comments
 (0)