gremlin 3.4.12 → 3.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/doc/AnonymousTraversalSource.html +11 -3
- package/doc/Authenticator.html +6 -2
- package/doc/Bytecode.html +258 -6
- package/doc/Client.html +84 -6
- package/doc/Connection.html +12 -2
- package/doc/DriverRemoteConnection.html +392 -8
- package/doc/EdgeLabelVerificationStrategy.html +5 -3
- package/doc/Graph.html +6 -2
- package/doc/GraphSON2Reader.html +6 -2
- package/doc/GraphSON2Writer.html +8 -2
- package/doc/GraphSON3Reader.html +4 -2
- package/doc/GraphSON3Writer.html +4 -2
- package/doc/GraphTraversal.html +317 -107
- package/doc/GraphTraversalSource.html +164 -19
- package/doc/HaltedTraverserStrategy.html +5 -3
- package/doc/MatchAlgorithmStrategy.html +5 -3
- package/doc/P.html +28 -2
- package/doc/PartitionStrategy.html +5 -3
- package/doc/Path.html +4 -2
- package/doc/PlainTextSaslAuthenticator.html +6 -2
- package/doc/ProductiveByStrategy.html +288 -0
- package/doc/RemoteConnection.html +561 -13
- package/doc/RemoteStrategy.html +8 -4
- package/doc/RemoteTraversal.html +5 -3
- package/doc/ReservedKeysVerificationStrategy.html +5 -3
- package/doc/ResponseError.html +4 -2
- package/doc/ResultSet.html +10 -2
- package/doc/SaslAuthenticator.html +6 -2
- package/doc/SaslMechanismBase.html +8 -2
- package/doc/SaslMechanismPlain.html +10 -2
- package/doc/SeedStrategy.html +288 -0
- package/doc/SubgraphStrategy.html +5 -3
- package/doc/TextP.html +18 -2
- package/doc/Transaction.html +2 -2
- package/doc/Translator.html +202 -4
- package/doc/TraversalStrategies.html +142 -3
- package/doc/TraversalStrategy.html +8 -4
- package/doc/TypeSerializer.html +4 -2
- package/doc/driver_auth_authenticator.js.html +2 -2
- package/doc/driver_auth_mechanisms_sasl-mechanism-base.js.html +2 -2
- package/doc/driver_auth_mechanisms_sasl-mechanism-plain.js.html +2 -2
- package/doc/driver_auth_plain-text-sasl-authenticator.js.html +2 -2
- package/doc/driver_auth_sasl-authenticator.js.html +2 -2
- package/doc/driver_client.js.html +20 -8
- package/doc/driver_connection.js.html +2 -2
- package/doc/driver_driver-remote-connection.js.html +38 -4
- package/doc/driver_remote-connection.js.html +55 -5
- package/doc/driver_response-error.js.html +2 -2
- package/doc/driver_result-set.js.html +2 -2
- package/doc/global.html +3 -3
- package/doc/index.html +35 -18
- package/doc/process_anonymous-traversal.js.html +3 -3
- package/doc/process_bytecode.js.html +32 -3
- package/doc/process_graph-traversal.js.html +25 -6
- package/doc/process_transaction.js.html +2 -2
- package/doc/process_translator.js.html +45 -32
- package/doc/process_traversal-strategy.js.html +23 -2
- package/doc/process_traversal.js.html +3 -3
- package/doc/scripts/linenumber.js +9 -9
- package/doc/structure_graph.js.html +2 -2
- package/doc/structure_io_graph-serializer.js.html +2 -2
- package/doc/structure_io_type-serializers.js.html +2 -2
- package/doc/styles/jsdoc-default.css +2 -2
- package/lib/driver/client.js +18 -6
- package/lib/driver/driver-remote-connection.js +36 -2
- package/lib/driver/remote-connection.js +53 -3
- package/lib/process/anonymous-traversal.js +1 -1
- package/lib/process/bytecode.js +30 -1
- package/lib/process/graph-traversal.js +23 -4
- package/lib/process/transaction.js +86 -0
- package/lib/process/translator.js +43 -30
- package/lib/process/traversal-strategy.js +21 -0
- package/lib/process/traversal.js +1 -1
- package/package.json +6 -5
- package/.npmignore +0 -26
- package/package-lock.json +0 -5828
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
<header>
|
|
30
30
|
|
|
31
|
-
<h2><span class="attribs"><span class="type-signature"></span></span>RemoteConnection<span class="signature">()</span><span class="type-signature"></span></h2>
|
|
31
|
+
<h2><span class="attribs"><span class="type-signature"></span></span>RemoteConnection<span class="signature">(url, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h2>
|
|
32
32
|
|
|
33
33
|
<div class="class-description">Represents an abstraction of a "connection" to a "server" that is capable of processing a traversal and
|
|
34
34
|
returning results.</div>
|
|
@@ -46,7 +46,7 @@ returning results.</div>
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
<h4 class="name" id="RemoteConnection"><span class="type-signature"></span>new RemoteConnection<span class="signature">()</span><span class="type-signature"></span></h4>
|
|
49
|
+
<h4 class="name" id="RemoteConnection"><span class="type-signature"></span>new RemoteConnection<span class="signature">(url, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
@@ -61,6 +61,335 @@ returning results.</div>
|
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
64
|
+
<h5>Parameters:</h5>
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
<table class="params">
|
|
68
|
+
<thead>
|
|
69
|
+
<tr>
|
|
70
|
+
|
|
71
|
+
<th>Name</th>
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
<th>Type</th>
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
<th>Attributes</th>
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
<th class="last">Description</th>
|
|
83
|
+
</tr>
|
|
84
|
+
</thead>
|
|
85
|
+
|
|
86
|
+
<tbody>
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
<tr>
|
|
90
|
+
|
|
91
|
+
<td class="name"><code>url</code></td>
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
<td class="type">
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
<span class="param-type">String</span>
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
</td>
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
<td class="attributes">
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
</td>
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
<td class="description last">The resource uri.</td>
|
|
116
|
+
</tr>
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
<tr>
|
|
121
|
+
|
|
122
|
+
<td class="name"><code>options</code></td>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<td class="type">
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
<span class="param-type">Object</span>
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
</td>
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<td class="attributes">
|
|
136
|
+
|
|
137
|
+
<optional><br>
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
</td>
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
<td class="description last">The connection options.</td>
|
|
149
|
+
</tr>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
</tbody>
|
|
153
|
+
</table>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
<dl class="details">
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
<dt class="tag-source">Source:</dt>
|
|
188
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
189
|
+
<a href="driver_remote-connection.js.html">driver/remote-connection.js</a>, <a href="driver_remote-connection.js.html#line32">line 32</a>
|
|
190
|
+
</li></ul></dd>
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
</dl>
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
</div>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
<h3 class="subsection-title">Members</h3>
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
<h4 class="name" id="isOpen"><span class="type-signature"></span>isOpen<span class="type-signature"></span></h4>
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
<div class="description">
|
|
245
|
+
Returns true if connection is open
|
|
246
|
+
</div>
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
<dl class="details">
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
<dt class="tag-source">Source:</dt>
|
|
282
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
283
|
+
<a href="driver_remote-connection.js.html">driver/remote-connection.js</a>, <a href="driver_remote-connection.js.html#line55">line 55</a>
|
|
284
|
+
</li></ul></dd>
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
</dl>
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
<h4 class="name" id="isSessionBound"><span class="type-signature"></span>isSessionBound<span class="type-signature"></span></h4>
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
<div class="description">
|
|
307
|
+
Determines if the connection is already bound to a session. If so, this indicates that the
|
|
308
|
+
<code>#createSession()</code> cannot be called so as to produce child sessions.
|
|
309
|
+
</div>
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
<dl class="details">
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
<dt class="tag-source">Source:</dt>
|
|
345
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
346
|
+
<a href="driver_remote-connection.js.html">driver/remote-connection.js</a>, <a href="driver_remote-connection.js.html#line64">line 64</a>
|
|
347
|
+
</li></ul></dd>
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
</dl>
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
<h3 class="subsection-title">Methods</h3>
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
<h4 class="name" id="close"><span class="type-signature"></span>close<span class="signature">()</span><span class="type-signature"> → {Promise}</span></h4>
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
<div class="description">
|
|
382
|
+
Closes the connection where open transactions will close according to the features of the graph provider.
|
|
383
|
+
</div>
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
64
393
|
|
|
65
394
|
|
|
66
395
|
|
|
@@ -94,7 +423,7 @@ returning results.</div>
|
|
|
94
423
|
|
|
95
424
|
<dt class="tag-source">Source:</dt>
|
|
96
425
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
97
|
-
<a href="driver_remote-connection.js.html">driver/remote-connection.js</a>, <a href="driver_remote-connection.js.html#
|
|
426
|
+
<a href="driver_remote-connection.js.html">driver/remote-connection.js</a>, <a href="driver_remote-connection.js.html#line106">line 106</a>
|
|
98
427
|
</li></ul></dd>
|
|
99
428
|
|
|
100
429
|
|
|
@@ -119,11 +448,59 @@ returning results.</div>
|
|
|
119
448
|
|
|
120
449
|
|
|
121
450
|
|
|
451
|
+
<h5>Returns:</h5>
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
<dl>
|
|
457
|
+
<dt>
|
|
458
|
+
Type
|
|
459
|
+
</dt>
|
|
460
|
+
<dd>
|
|
461
|
+
|
|
462
|
+
<span class="param-type">Promise</span>
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
</dd>
|
|
466
|
+
</dl>
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
122
473
|
|
|
474
|
+
|
|
475
|
+
|
|
123
476
|
|
|
477
|
+
|
|
124
478
|
|
|
125
479
|
|
|
126
|
-
</
|
|
480
|
+
<h4 class="name" id="commit"><span class="type-signature"></span>commit<span class="signature">()</span><span class="type-signature"> → {Promise}</span></h4>
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
<div class="description">
|
|
488
|
+
Submits a <code>Bytecode.GraphOp.commit</code> to the server and closes the connection.
|
|
489
|
+
</div>
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
<dl class="details">
|
|
127
504
|
|
|
128
505
|
|
|
129
506
|
|
|
@@ -140,7 +517,65 @@ returning results.</div>
|
|
|
140
517
|
|
|
141
518
|
|
|
142
519
|
|
|
143
|
-
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
<dt class="tag-source">Source:</dt>
|
|
531
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
532
|
+
<a href="driver_remote-connection.js.html">driver/remote-connection.js</a>, <a href="driver_remote-connection.js.html#line91">line 91</a>
|
|
533
|
+
</li></ul></dd>
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
</dl>
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
<h5>Returns:</h5>
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
<dl>
|
|
563
|
+
<dt>
|
|
564
|
+
Type
|
|
565
|
+
</dt>
|
|
566
|
+
<dd>
|
|
567
|
+
|
|
568
|
+
<span class="param-type">Promise</span>
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
</dd>
|
|
572
|
+
</dl>
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
144
579
|
|
|
145
580
|
|
|
146
581
|
|
|
@@ -148,7 +583,7 @@ returning results.</div>
|
|
|
148
583
|
|
|
149
584
|
|
|
150
585
|
|
|
151
|
-
<h4 class="name" id="
|
|
586
|
+
<h4 class="name" id="createSession"><span class="type-signature"></span>createSession<span class="signature">()</span><span class="type-signature"> → {<a href="RemoteConnection.html">RemoteConnection</a>}</span></h4>
|
|
152
587
|
|
|
153
588
|
|
|
154
589
|
|
|
@@ -156,7 +591,8 @@ returning results.</div>
|
|
|
156
591
|
|
|
157
592
|
|
|
158
593
|
<div class="description">
|
|
159
|
-
|
|
594
|
+
Create a new <code>RemoteConnection</code> that is bound to a session using the configuration from this one.
|
|
595
|
+
If the connection is already session bound then this function should throw an exception.
|
|
160
596
|
</div>
|
|
161
597
|
|
|
162
598
|
|
|
@@ -200,7 +636,7 @@ returning results.</div>
|
|
|
200
636
|
|
|
201
637
|
<dt class="tag-source">Source:</dt>
|
|
202
638
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
203
|
-
<a href="driver_remote-connection.js.html">driver/remote-connection.js</a>, <a href="driver_remote-connection.js.html#
|
|
639
|
+
<a href="driver_remote-connection.js.html">driver/remote-connection.js</a>, <a href="driver_remote-connection.js.html#line83">line 83</a>
|
|
204
640
|
</li></ul></dd>
|
|
205
641
|
|
|
206
642
|
|
|
@@ -223,6 +659,8 @@ returning results.</div>
|
|
|
223
659
|
|
|
224
660
|
|
|
225
661
|
|
|
662
|
+
|
|
663
|
+
|
|
226
664
|
<h5>Returns:</h5>
|
|
227
665
|
|
|
228
666
|
|
|
@@ -234,7 +672,7 @@ returning results.</div>
|
|
|
234
672
|
</dt>
|
|
235
673
|
<dd>
|
|
236
674
|
|
|
237
|
-
<span class="param-type">
|
|
675
|
+
<span class="param-type"><a href="RemoteConnection.html">RemoteConnection</a></span>
|
|
238
676
|
|
|
239
677
|
|
|
240
678
|
</dd>
|
|
@@ -304,7 +742,113 @@ returning results.</div>
|
|
|
304
742
|
|
|
305
743
|
<dt class="tag-source">Source:</dt>
|
|
306
744
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
307
|
-
<a href="driver_remote-connection.js.html">driver/remote-connection.js</a>, <a href="driver_remote-connection.js.html#
|
|
745
|
+
<a href="driver_remote-connection.js.html">driver/remote-connection.js</a>, <a href="driver_remote-connection.js.html#line47">line 47</a>
|
|
746
|
+
</li></ul></dd>
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
</dl>
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
<h5>Returns:</h5>
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
<dl>
|
|
776
|
+
<dt>
|
|
777
|
+
Type
|
|
778
|
+
</dt>
|
|
779
|
+
<dd>
|
|
780
|
+
|
|
781
|
+
<span class="param-type">Promise</span>
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
</dd>
|
|
785
|
+
</dl>
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
<h4 class="name" id="rollback"><span class="type-signature"></span>rollback<span class="signature">()</span><span class="type-signature"> → {Promise}</span></h4>
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
<div class="description">
|
|
807
|
+
Submits a <code>Bytecode.GraphOp.rollback</code> to the server and closes the connection.
|
|
808
|
+
</div>
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
<dl class="details">
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
<dt class="tag-source">Source:</dt>
|
|
850
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
851
|
+
<a href="driver_remote-connection.js.html">driver/remote-connection.js</a>, <a href="driver_remote-connection.js.html#line98">line 98</a>
|
|
308
852
|
</li></ul></dd>
|
|
309
853
|
|
|
310
854
|
|
|
@@ -327,6 +871,8 @@ returning results.</div>
|
|
|
327
871
|
|
|
328
872
|
|
|
329
873
|
|
|
874
|
+
|
|
875
|
+
|
|
330
876
|
<h5>Returns:</h5>
|
|
331
877
|
|
|
332
878
|
|
|
@@ -457,7 +1003,7 @@ returning results.</div>
|
|
|
457
1003
|
|
|
458
1004
|
<dt class="tag-source">Source:</dt>
|
|
459
1005
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
460
|
-
<a href="driver_remote-connection.js.html">driver/remote-connection.js</a>, <a href="driver_remote-connection.js.html#
|
|
1006
|
+
<a href="driver_remote-connection.js.html">driver/remote-connection.js</a>, <a href="driver_remote-connection.js.html#line74">line 74</a>
|
|
461
1007
|
</li></ul></dd>
|
|
462
1008
|
|
|
463
1009
|
|
|
@@ -480,6 +1026,8 @@ returning results.</div>
|
|
|
480
1026
|
|
|
481
1027
|
|
|
482
1028
|
|
|
1029
|
+
|
|
1030
|
+
|
|
483
1031
|
<h5>Returns:</h5>
|
|
484
1032
|
|
|
485
1033
|
|
|
@@ -523,13 +1071,13 @@ returning results.</div>
|
|
|
523
1071
|
</div>
|
|
524
1072
|
|
|
525
1073
|
<nav>
|
|
526
|
-
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AnonymousTraversalSource.html">AnonymousTraversalSource</a></li><li><a href="Authenticator.html">Authenticator</a></li><li><a href="Bytecode.html">Bytecode</a></li><li><a href="Client.html">Client</a></li><li><a href="Connection.html">Connection</a></li><li><a href="DriverRemoteConnection.html">DriverRemoteConnection</a></li><li><a href="EdgeLabelVerificationStrategy.html">EdgeLabelVerificationStrategy</a></li><li><a href="Graph.html">Graph</a></li><li><a href="GraphSON2Reader.html">GraphSON2Reader</a></li><li><a href="GraphSON2Writer.html">GraphSON2Writer</a></li><li><a href="GraphSON3Reader.html">GraphSON3Reader</a></li><li><a href="GraphSON3Writer.html">GraphSON3Writer</a></li><li><a href="GraphTraversal.html">GraphTraversal</a></li><li><a href="GraphTraversalSource.html">GraphTraversalSource</a></li><li><a href="HaltedTraverserStrategy.html">HaltedTraverserStrategy</a></li><li><a href="MatchAlgorithmStrategy.html">MatchAlgorithmStrategy</a></li><li><a href="P.html">P</a></li><li><a href="PartitionStrategy.html">PartitionStrategy</a></li><li><a href="Path.html">Path</a></li><li><a href="PlainTextSaslAuthenticator.html">PlainTextSaslAuthenticator</a></li><li><a href="RemoteConnection.html">RemoteConnection</a></li><li><a href="RemoteStrategy.html">RemoteStrategy</a></li><li><a href="RemoteTraversal.html">RemoteTraversal</a></li><li><a href="ReservedKeysVerificationStrategy.html">ReservedKeysVerificationStrategy</a></li><li><a href="ResponseError.html">ResponseError</a></li><li><a href="ResultSet.html">ResultSet</a></li><li><a href="SaslAuthenticator.html">SaslAuthenticator</a></li><li><a href="SaslMechanismBase.html">SaslMechanismBase</a></li><li><a href="SaslMechanismPlain.html">SaslMechanismPlain</a></li><li><a href="SubgraphStrategy.html">SubgraphStrategy</a></li><li><a href="TextP.html">TextP</a></li><li><a href="Translator.html">Translator</a></li><li><a href="TraversalStrategies.html">TraversalStrategies</a></li><li><a href="TraversalStrategy.html">TraversalStrategy</a></li><li><a href="TypeSerializer.html">TypeSerializer</a></li></ul><h3>Global</h3><ul><li><a href="global.html#statics">statics</a></li></ul>
|
|
1074
|
+
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AnonymousTraversalSource.html">AnonymousTraversalSource</a></li><li><a href="Authenticator.html">Authenticator</a></li><li><a href="Bytecode.html">Bytecode</a></li><li><a href="Client.html">Client</a></li><li><a href="Connection.html">Connection</a></li><li><a href="DriverRemoteConnection.html">DriverRemoteConnection</a></li><li><a href="EdgeLabelVerificationStrategy.html">EdgeLabelVerificationStrategy</a></li><li><a href="Graph.html">Graph</a></li><li><a href="GraphSON2Reader.html">GraphSON2Reader</a></li><li><a href="GraphSON2Writer.html">GraphSON2Writer</a></li><li><a href="GraphSON3Reader.html">GraphSON3Reader</a></li><li><a href="GraphSON3Writer.html">GraphSON3Writer</a></li><li><a href="GraphTraversal.html">GraphTraversal</a></li><li><a href="GraphTraversalSource.html">GraphTraversalSource</a></li><li><a href="HaltedTraverserStrategy.html">HaltedTraverserStrategy</a></li><li><a href="MatchAlgorithmStrategy.html">MatchAlgorithmStrategy</a></li><li><a href="P.html">P</a></li><li><a href="PartitionStrategy.html">PartitionStrategy</a></li><li><a href="Path.html">Path</a></li><li><a href="PlainTextSaslAuthenticator.html">PlainTextSaslAuthenticator</a></li><li><a href="ProductiveByStrategy.html">ProductiveByStrategy</a></li><li><a href="RemoteConnection.html">RemoteConnection</a></li><li><a href="RemoteStrategy.html">RemoteStrategy</a></li><li><a href="RemoteTraversal.html">RemoteTraversal</a></li><li><a href="ReservedKeysVerificationStrategy.html">ReservedKeysVerificationStrategy</a></li><li><a href="ResponseError.html">ResponseError</a></li><li><a href="ResultSet.html">ResultSet</a></li><li><a href="SaslAuthenticator.html">SaslAuthenticator</a></li><li><a href="SaslMechanismBase.html">SaslMechanismBase</a></li><li><a href="SaslMechanismPlain.html">SaslMechanismPlain</a></li><li><a href="SubgraphStrategy.html">SubgraphStrategy</a></li><li><a href="TextP.html">TextP</a></li><li><a href="Transaction.html">Transaction</a></li><li><a href="Translator.html">Translator</a></li><li><a href="TraversalStrategies.html">TraversalStrategies</a></li><li><a href="TraversalStrategy.html">TraversalStrategy</a></li><li><a href="TypeSerializer.html">TypeSerializer</a></li></ul><h3>Global</h3><ul><li><a href="global.html#statics">statics</a></li></ul>
|
|
527
1075
|
</nav>
|
|
528
1076
|
|
|
529
1077
|
<br class="clear">
|
|
530
1078
|
|
|
531
1079
|
<footer>
|
|
532
|
-
Documentation generated by <a href="https://github.com/
|
|
1080
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.7</a> on Fri Jan 14 2022 09:04:29 GMT-0500 (Eastern Standard Time)
|
|
533
1081
|
</footer>
|
|
534
1082
|
|
|
535
1083
|
<script> prettyPrint(); </script>
|