gremlin 3.5.2 → 3.5.3
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/.eslintrc.js +154 -0
- package/.prettierrc.js +29 -0
- package/Gruntfile.js +15 -16
- package/doc/AnonymousTraversalSource.html +4 -4
- package/doc/Authenticator.html +1 -1
- package/doc/Bytecode.html +6 -6
- package/doc/Client.html +137 -63
- package/doc/Connection.html +88 -4
- package/doc/DriverRemoteConnection.html +10 -10
- package/doc/EdgeLabelVerificationStrategy.html +1 -1
- package/doc/Graph.html +1 -1
- package/doc/GraphSON2Reader.html +3 -3
- package/doc/GraphSON2Writer.html +2 -2
- package/doc/GraphSON3Reader.html +2 -2
- package/doc/GraphSON3Writer.html +2 -2
- package/doc/GraphTraversal.html +106 -106
- package/doc/GraphTraversalSource.html +18 -18
- package/doc/HaltedTraverserStrategy.html +2 -2
- package/doc/MatchAlgorithmStrategy.html +2 -2
- package/doc/P.html +12 -12
- package/doc/PartitionStrategy.html +2 -2
- package/doc/Path.html +1 -1
- package/doc/PlainTextSaslAuthenticator.html +1 -1
- package/doc/ProductiveByStrategy.html +1 -1
- package/doc/RemoteConnection.html +9 -9
- package/doc/RemoteStrategy.html +3 -3
- package/doc/RemoteTraversal.html +2 -2
- package/doc/ReservedKeysVerificationStrategy.html +2 -2
- package/doc/ResponseError.html +1 -1
- package/doc/ResultSet.html +6 -6
- package/doc/SaslAuthenticator.html +1 -1
- package/doc/SaslMechanismBase.html +1 -1
- package/doc/SaslMechanismPlain.html +5 -5
- package/doc/SeedStrategy.html +2 -2
- package/doc/SubgraphStrategy.html +2 -2
- package/doc/TextP.html +9 -9
- package/doc/Transaction.html +5 -5
- package/doc/Translator.html +1 -1
- package/doc/TraversalStrategies.html +4 -4
- package/doc/TraversalStrategy.html +2 -2
- package/doc/TypeSerializer.html +1 -1
- package/doc/driver_auth_authenticator.js.html +3 -3
- package/doc/driver_auth_mechanisms_sasl-mechanism-base.js.html +2 -2
- package/doc/driver_auth_mechanisms_sasl-mechanism-plain.js.html +25 -16
- package/doc/driver_auth_plain-text-sasl-authenticator.js.html +6 -6
- package/doc/driver_auth_sasl-authenticator.js.html +2 -2
- package/doc/driver_client.js.html +69 -23
- package/doc/driver_connection.js.html +107 -88
- package/doc/driver_driver-remote-connection.js.html +11 -10
- package/doc/driver_remote-connection.js.html +3 -4
- package/doc/driver_response-error.js.html +4 -3
- package/doc/driver_result-set.js.html +3 -3
- package/doc/global.html +199 -2
- package/doc/index.html +1 -1
- package/doc/process_anonymous-traversal.js.html +3 -3
- package/doc/process_bytecode.js.html +10 -8
- package/doc/process_graph-traversal.js.html +193 -142
- package/doc/process_transaction.js.html +15 -8
- package/doc/process_translator.js.html +13 -10
- package/doc/process_traversal-strategy.js.html +59 -53
- package/doc/process_traversal.js.html +100 -107
- package/doc/structure_graph.js.html +6 -6
- package/doc/structure_io_graph-serializer.js.html +64 -17
- package/doc/structure_io_type-serializers.js.html +85 -88
- package/index.js +5 -5
- package/lib/driver/auth/authenticator.js +2 -2
- package/lib/driver/auth/mechanisms/sasl-mechanism-base.js +1 -1
- package/lib/driver/auth/mechanisms/sasl-mechanism-plain.js +24 -15
- package/lib/driver/auth/plain-text-sasl-authenticator.js +5 -5
- package/lib/driver/auth/sasl-authenticator.js +1 -1
- package/lib/driver/client.js +68 -22
- package/lib/driver/connection.js +106 -87
- package/lib/driver/driver-remote-connection.js +10 -9
- package/lib/driver/remote-connection.js +2 -3
- package/lib/driver/response-error.js +2 -2
- package/lib/driver/result-set.js +1 -2
- package/lib/process/anonymous-traversal.js +1 -2
- package/lib/process/bytecode.js +9 -7
- package/lib/process/graph-traversal.js +191 -141
- package/lib/process/transaction.js +13 -7
- package/lib/process/translator.js +11 -9
- package/lib/process/traversal-strategy.js +57 -52
- package/lib/process/traversal.js +99 -106
- package/lib/structure/graph.js +5 -5
- package/lib/structure/io/graph-serializer.js +62 -16
- package/lib/structure/io/type-serializers.js +84 -87
- package/lib/utils.js +15 -10
- package/package.json +10 -5
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
3
|
+
* or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information
|
|
5
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
6
|
+
* to you under the Apache License, Version 2.0 (the
|
|
7
|
+
* "License"); you may not use this file except in compliance
|
|
8
|
+
* with the License. You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing,
|
|
13
|
+
* software distributed under the License is distributed on an
|
|
14
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
15
|
+
* KIND, either express or implied. See the License for the
|
|
16
|
+
* specific language governing permissions and limitations
|
|
17
|
+
* under the License.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
'use strict';
|
|
21
|
+
|
|
22
|
+
module.exports = {
|
|
23
|
+
env: {
|
|
24
|
+
commonjs: true,
|
|
25
|
+
es6: true,
|
|
26
|
+
},
|
|
27
|
+
parserOptions: {
|
|
28
|
+
ecmaVersion: 2017,
|
|
29
|
+
},
|
|
30
|
+
ignorePatterns: ['test/**/*.js', 'doc/**/*.js'],
|
|
31
|
+
extends: ['eslint:recommended', 'prettier'],
|
|
32
|
+
plugins: ['prettier'],
|
|
33
|
+
rules: {
|
|
34
|
+
'prettier/prettier': ['error'],
|
|
35
|
+
indent: ['error', 2, { SwitchCase: 1 }],
|
|
36
|
+
'linebreak-style': ['error', 'unix'],
|
|
37
|
+
quotes: ['error', 'single'],
|
|
38
|
+
semi: ['error', 'always'],
|
|
39
|
+
'no-constant-condition': ['error', { checkLoops: false }],
|
|
40
|
+
strict: ['error', 'global'],
|
|
41
|
+
'array-callback-return': 'error',
|
|
42
|
+
curly: 'error',
|
|
43
|
+
'no-unused-vars': ['error', { args: 'none' }],
|
|
44
|
+
'global-require': 'error',
|
|
45
|
+
eqeqeq: ['error', 'allow-null'],
|
|
46
|
+
|
|
47
|
+
// make sure for-in loops have an if statement
|
|
48
|
+
'guard-for-in': 'error',
|
|
49
|
+
'no-alert': 'error',
|
|
50
|
+
'no-caller': 'error',
|
|
51
|
+
'no-case-declarations': 'error',
|
|
52
|
+
'no-else-return': 'error',
|
|
53
|
+
'no-empty-pattern': 'error',
|
|
54
|
+
'no-eval': 'error',
|
|
55
|
+
'no-extend-native': 'error',
|
|
56
|
+
'no-extra-bind': 'error',
|
|
57
|
+
'no-extra-label': 'error',
|
|
58
|
+
'no-floating-decimal': 'error',
|
|
59
|
+
'no-global-assign': ['error', { exceptions: [] }],
|
|
60
|
+
'no-implicit-coercion': [
|
|
61
|
+
'off',
|
|
62
|
+
{
|
|
63
|
+
boolean: false,
|
|
64
|
+
number: true,
|
|
65
|
+
string: true,
|
|
66
|
+
allow: [],
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
'no-implied-eval': 'error',
|
|
70
|
+
'no-labels': ['error', { allowLoop: false, allowSwitch: false }],
|
|
71
|
+
'no-lone-blocks': 'error',
|
|
72
|
+
'no-loop-func': 'error',
|
|
73
|
+
//
|
|
74
|
+
// disallow use of multiple spaces
|
|
75
|
+
'no-multi-spaces': 'error',
|
|
76
|
+
'no-new': 'error',
|
|
77
|
+
'no-new-func': 'error',
|
|
78
|
+
'no-new-wrappers': 'error',
|
|
79
|
+
'no-octal-escape': 'error',
|
|
80
|
+
'no-proto': 'error',
|
|
81
|
+
'no-prototype-builtins': 0,
|
|
82
|
+
'no-redeclare': 'error',
|
|
83
|
+
'no-restricted-properties': [
|
|
84
|
+
'error',
|
|
85
|
+
{
|
|
86
|
+
object: 'arguments',
|
|
87
|
+
property: 'callee',
|
|
88
|
+
message: 'arguments.callee is deprecated',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
property: '__defineGetter__',
|
|
92
|
+
message: 'Please use Object.defineProperty instead.',
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
property: '__defineSetter__',
|
|
96
|
+
message: 'Please use Object.defineProperty instead.',
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
'no-self-assign': 'error',
|
|
100
|
+
'no-self-compare': 'error',
|
|
101
|
+
'no-sequences': 'error',
|
|
102
|
+
'no-throw-literal': 'error',
|
|
103
|
+
'no-unmodified-loop-condition': 'off',
|
|
104
|
+
'no-unused-expressions': [
|
|
105
|
+
'error',
|
|
106
|
+
{
|
|
107
|
+
allowShortCircuit: false,
|
|
108
|
+
allowTernary: false,
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
'no-useless-call': 'off',
|
|
112
|
+
'no-useless-concat': 'error',
|
|
113
|
+
'no-useless-escape': 'error',
|
|
114
|
+
'no-useless-return': 'error',
|
|
115
|
+
'no-void': 'error',
|
|
116
|
+
'no-with': 'error',
|
|
117
|
+
'no-buffer-constructor': 'error',
|
|
118
|
+
radix: 'error',
|
|
119
|
+
'no-var': 'error',
|
|
120
|
+
'prefer-const': 'error',
|
|
121
|
+
'arrow-body-style': ['error', 'as-needed'],
|
|
122
|
+
'arrow-spacing': 'error',
|
|
123
|
+
'no-confusing-arrow': ['error', { allowParens: true }],
|
|
124
|
+
yoda: 'error',
|
|
125
|
+
'constructor-super': 'error',
|
|
126
|
+
'require-await': 'error',
|
|
127
|
+
'require-atomic-updates': 'off',
|
|
128
|
+
},
|
|
129
|
+
globals: {
|
|
130
|
+
Buffer: false,
|
|
131
|
+
Promise: true,
|
|
132
|
+
Symbol: false,
|
|
133
|
+
Uint16Array: false,
|
|
134
|
+
Int32Array: false,
|
|
135
|
+
Int8Array: false,
|
|
136
|
+
BigInt: false,
|
|
137
|
+
process: false,
|
|
138
|
+
setInterval: false,
|
|
139
|
+
setTimeout: false,
|
|
140
|
+
setImmediate: false,
|
|
141
|
+
clearInterval: false,
|
|
142
|
+
clearTimeout: false,
|
|
143
|
+
describe: false,
|
|
144
|
+
xdescribe: false,
|
|
145
|
+
it: false,
|
|
146
|
+
xit: false,
|
|
147
|
+
context: false,
|
|
148
|
+
after: false,
|
|
149
|
+
afterEach: false,
|
|
150
|
+
before: false,
|
|
151
|
+
beforeEach: false,
|
|
152
|
+
__filename: false,
|
|
153
|
+
},
|
|
154
|
+
};
|
package/.prettierrc.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
3
|
+
* or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information
|
|
5
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
6
|
+
* to you under the Apache License, Version 2.0 (the
|
|
7
|
+
* "License"); you may not use this file except in compliance
|
|
8
|
+
* with the License. You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing,
|
|
13
|
+
* software distributed under the License is distributed on an
|
|
14
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
15
|
+
* KIND, either express or implied. See the License for the
|
|
16
|
+
* specific language governing permissions and limitations
|
|
17
|
+
* under the License.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
module.exports = {
|
|
21
|
+
singleQuote: true,
|
|
22
|
+
printWidth: 120,
|
|
23
|
+
trailingComma: 'all',
|
|
24
|
+
bracketSpacing: true,
|
|
25
|
+
arrowParens: 'always',
|
|
26
|
+
semi: true,
|
|
27
|
+
tabWidth: 2,
|
|
28
|
+
useTabs: false,
|
|
29
|
+
};
|
package/Gruntfile.js
CHANGED
|
@@ -18,19 +18,18 @@
|
|
|
18
18
|
*/
|
|
19
19
|
'use strict';
|
|
20
20
|
|
|
21
|
-
module.exports = function(grunt) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
21
|
+
module.exports = function (grunt) {
|
|
22
|
+
grunt.loadNpmTasks('grunt-jsdoc');
|
|
23
|
+
grunt.initConfig({
|
|
24
|
+
jsdoc: {
|
|
25
|
+
dist: {
|
|
26
|
+
src: ['lib'],
|
|
27
|
+
options: {
|
|
28
|
+
destination: 'doc',
|
|
29
|
+
recurse: true,
|
|
30
|
+
readme: 'README.md',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
};
|
|
@@ -330,7 +330,7 @@ instance or a <code>RemoteConnection</code>.</div>
|
|
|
330
330
|
|
|
331
331
|
<dt class="tag-source">Source:</dt>
|
|
332
332
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
333
|
-
<a href="process_anonymous-traversal.js.html">process/anonymous-traversal.js</a>, <a href="process_anonymous-traversal.js.html#
|
|
333
|
+
<a href="process_anonymous-traversal.js.html">process/anonymous-traversal.js</a>, <a href="process_anonymous-traversal.js.html#line47">line 47</a>
|
|
334
334
|
</li></ul></dd>
|
|
335
335
|
|
|
336
336
|
|
|
@@ -496,7 +496,7 @@ at which point there will be support for {@code withEmbedded} which is part of t
|
|
|
496
496
|
|
|
497
497
|
<dt class="tag-source">Source:</dt>
|
|
498
498
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
499
|
-
<a href="process_anonymous-traversal.js.html">process/anonymous-traversal.js</a>, <a href="process_anonymous-traversal.js.html#
|
|
499
|
+
<a href="process_anonymous-traversal.js.html">process/anonymous-traversal.js</a>, <a href="process_anonymous-traversal.js.html#line72">line 72</a>
|
|
500
500
|
</li></ul></dd>
|
|
501
501
|
|
|
502
502
|
|
|
@@ -652,7 +652,7 @@ reference so that traversals spawned from it will execute over that reference.
|
|
|
652
652
|
|
|
653
653
|
<dt class="tag-source">Source:</dt>
|
|
654
654
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
655
|
-
<a href="process_anonymous-traversal.js.html">process/anonymous-traversal.js</a>, <a href="process_anonymous-traversal.js.html#
|
|
655
|
+
<a href="process_anonymous-traversal.js.html">process/anonymous-traversal.js</a>, <a href="process_anonymous-traversal.js.html#line57">line 57</a>
|
|
656
656
|
</li></ul></dd>
|
|
657
657
|
|
|
658
658
|
|
|
@@ -722,7 +722,7 @@ reference so that traversals spawned from it will execute over that reference.
|
|
|
722
722
|
<br class="clear">
|
|
723
723
|
|
|
724
724
|
<footer>
|
|
725
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.
|
|
725
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Mon Apr 11 2022 07:21:14 GMT-0400 (Eastern Daylight Time)
|
|
726
726
|
</footer>
|
|
727
727
|
|
|
728
728
|
<script> prettyPrint(); </script>
|
package/doc/Authenticator.html
CHANGED
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
<br class="clear">
|
|
295
295
|
|
|
296
296
|
<footer>
|
|
297
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.
|
|
297
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Mon Apr 11 2022 07:21:14 GMT-0400 (Eastern Daylight Time)
|
|
298
298
|
</footer>
|
|
299
299
|
|
|
300
300
|
<script> prettyPrint(); </script>
|
package/doc/Bytecode.html
CHANGED
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
|
|
249
249
|
<dt class="tag-source">Source:</dt>
|
|
250
250
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
251
|
-
<a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#
|
|
251
|
+
<a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#line116">line 116</a>
|
|
252
252
|
</li></ul></dd>
|
|
253
253
|
|
|
254
254
|
|
|
@@ -400,7 +400,7 @@
|
|
|
400
400
|
|
|
401
401
|
<dt class="tag-source">Source:</dt>
|
|
402
402
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
403
|
-
<a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#
|
|
403
|
+
<a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#line106">line 106</a>
|
|
404
404
|
</li></ul></dd>
|
|
405
405
|
|
|
406
406
|
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
|
|
579
579
|
<dt class="tag-source">Source:</dt>
|
|
580
580
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
581
|
-
<a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#
|
|
581
|
+
<a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#line48">line 48</a>
|
|
582
582
|
</li></ul></dd>
|
|
583
583
|
|
|
584
584
|
|
|
@@ -756,7 +756,7 @@
|
|
|
756
756
|
|
|
757
757
|
<dt class="tag-source">Source:</dt>
|
|
758
758
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
759
|
-
<a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#
|
|
759
|
+
<a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#line67">line 67</a>
|
|
760
760
|
</li></ul></dd>
|
|
761
761
|
|
|
762
762
|
|
|
@@ -862,7 +862,7 @@
|
|
|
862
862
|
|
|
863
863
|
<dt class="tag-source">Source:</dt>
|
|
864
864
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
865
|
-
<a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#
|
|
865
|
+
<a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#line96">line 96</a>
|
|
866
866
|
</li></ul></dd>
|
|
867
867
|
|
|
868
868
|
|
|
@@ -932,7 +932,7 @@
|
|
|
932
932
|
<br class="clear">
|
|
933
933
|
|
|
934
934
|
<footer>
|
|
935
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.
|
|
935
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Mon Apr 11 2022 07:21:14 GMT-0400 (Eastern Daylight Time)
|
|
936
936
|
</footer>
|
|
937
937
|
|
|
938
938
|
<script> prettyPrint(); </script>
|
package/doc/Client.html
CHANGED
|
@@ -683,7 +683,7 @@
|
|
|
683
683
|
|
|
684
684
|
<dt class="tag-source">Source:</dt>
|
|
685
685
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
686
|
-
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#
|
|
686
|
+
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#line71">line 71</a>
|
|
687
687
|
</li></ul></dd>
|
|
688
688
|
|
|
689
689
|
|
|
@@ -835,7 +835,7 @@
|
|
|
835
835
|
|
|
836
836
|
<dt class="tag-source">Source:</dt>
|
|
837
837
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
838
|
-
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#
|
|
838
|
+
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#line180">line 180</a>
|
|
839
839
|
</li></ul></dd>
|
|
840
840
|
|
|
841
841
|
|
|
@@ -924,7 +924,7 @@ send session close request before connection close if session mode
|
|
|
924
924
|
|
|
925
925
|
<dt class="tag-source">Source:</dt>
|
|
926
926
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
927
|
-
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#
|
|
927
|
+
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#line167">line 167</a>
|
|
928
928
|
</li></ul></dd>
|
|
929
929
|
|
|
930
930
|
|
|
@@ -1030,7 +1030,7 @@ send session close request before connection close if session mode
|
|
|
1030
1030
|
|
|
1031
1031
|
<dt class="tag-source">Source:</dt>
|
|
1032
1032
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1033
|
-
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#
|
|
1033
|
+
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#line63">line 63</a>
|
|
1034
1034
|
</li></ul></dd>
|
|
1035
1035
|
|
|
1036
1036
|
|
|
@@ -1208,7 +1208,7 @@ send session close request before connection close if session mode
|
|
|
1208
1208
|
|
|
1209
1209
|
<dt class="tag-source">Source:</dt>
|
|
1210
1210
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1211
|
-
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#
|
|
1211
|
+
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#line189">line 189</a>
|
|
1212
1212
|
</li></ul></dd>
|
|
1213
1213
|
|
|
1214
1214
|
|
|
@@ -1244,7 +1244,7 @@ send session close request before connection close if session mode
|
|
|
1244
1244
|
|
|
1245
1245
|
|
|
1246
1246
|
|
|
1247
|
-
<h4 class="name" id="
|
|
1247
|
+
<h4 class="name" id="stream"><span class="type-signature"></span>stream<span class="signature">(message, bindings<span class="signature-attributes">opt</span>, requestOptions<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {ReadableStream}</span></h4>
|
|
1248
1248
|
|
|
1249
1249
|
|
|
1250
1250
|
|
|
@@ -1252,7 +1252,7 @@ send session close request before connection close if session mode
|
|
|
1252
1252
|
|
|
1253
1253
|
|
|
1254
1254
|
<div class="description">
|
|
1255
|
-
Send a request to the Gremlin Server, can send a script or bytecode steps.
|
|
1255
|
+
Send a request to the Gremlin Server and receive a stream for the results, can send a script or bytecode steps.
|
|
1256
1256
|
</div>
|
|
1257
1257
|
|
|
1258
1258
|
|
|
@@ -1363,7 +1363,7 @@ send session close request before connection close if session mode
|
|
|
1363
1363
|
<td class="type">
|
|
1364
1364
|
|
|
1365
1365
|
|
|
1366
|
-
<span class="param-type">
|
|
1366
|
+
<span class="param-type"><a href="global.html#RequestOptions">RequestOptions</a></span>
|
|
1367
1367
|
|
|
1368
1368
|
|
|
1369
1369
|
|
|
@@ -1383,9 +1383,122 @@ send session close request before connection close if session mode
|
|
|
1383
1383
|
|
|
1384
1384
|
|
|
1385
1385
|
|
|
1386
|
-
<td class="description last">Configuration specific to the current request
|
|
1387
|
-
|
|
1388
|
-
|
|
1386
|
+
<td class="description last">Configuration specific to the current request.</td>
|
|
1387
|
+
</tr>
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
</tbody>
|
|
1391
|
+
</table>
|
|
1392
|
+
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
<dl class="details">
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
<dt class="tag-source">Source:</dt>
|
|
1426
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
1427
|
+
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#line130">line 130</a>
|
|
1428
|
+
</li></ul></dd>
|
|
1429
|
+
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
</dl>
|
|
1437
|
+
|
|
1438
|
+
|
|
1439
|
+
|
|
1440
|
+
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
|
|
1444
|
+
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
|
|
1452
|
+
<h5>Returns:</h5>
|
|
1453
|
+
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
<dl>
|
|
1458
|
+
<dt>
|
|
1459
|
+
Type
|
|
1460
|
+
</dt>
|
|
1461
|
+
<dd>
|
|
1462
|
+
|
|
1463
|
+
<span class="param-type">ReadableStream</span>
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
</dd>
|
|
1467
|
+
</dl>
|
|
1468
|
+
|
|
1469
|
+
|
|
1470
|
+
|
|
1471
|
+
|
|
1472
|
+
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
|
+
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
|
|
1481
|
+
<h4 class="name" id="submit"><span class="type-signature"></span>submit<span class="signature">(message, bindings<span class="signature-attributes">opt</span>, requestOptions<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise}</span></h4>
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
<div class="description">
|
|
1489
|
+
Send a request to the Gremlin Server, can send a script or bytecode steps.
|
|
1490
|
+
</div>
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
|
|
1498
|
+
|
|
1499
|
+
|
|
1500
|
+
<h5>Parameters:</h5>
|
|
1501
|
+
|
|
1389
1502
|
|
|
1390
1503
|
<table class="params">
|
|
1391
1504
|
<thead>
|
|
@@ -1411,46 +1524,16 @@ send session close request before connection close if session mode
|
|
|
1411
1524
|
|
|
1412
1525
|
<tr>
|
|
1413
1526
|
|
|
1414
|
-
<td class="name"><code>
|
|
1527
|
+
<td class="name"><code>message</code></td>
|
|
1415
1528
|
|
|
1416
1529
|
|
|
1417
1530
|
<td class="type">
|
|
1418
1531
|
|
|
1419
1532
|
|
|
1420
|
-
<span class="param-type">
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
</td>
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
<td class="attributes">
|
|
1428
|
-
|
|
1429
|
-
<optional><br>
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
</td>
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
<td class="description last">User specified request identifier which must be a UUID.</td>
|
|
1441
|
-
</tr>
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
<tr>
|
|
1446
|
-
|
|
1447
|
-
<td class="name"><code>batchSize</code></td>
|
|
1448
|
-
|
|
1533
|
+
<span class="param-type"><a href="Bytecode.html">Bytecode</a></span>
|
|
1534
|
+
|
|
|
1449
1535
|
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
<span class="param-type">Number</span>
|
|
1536
|
+
<span class="param-type">string</span>
|
|
1454
1537
|
|
|
1455
1538
|
|
|
1456
1539
|
|
|
@@ -1459,8 +1542,6 @@ send session close request before connection close if session mode
|
|
|
1459
1542
|
|
|
1460
1543
|
<td class="attributes">
|
|
1461
1544
|
|
|
1462
|
-
<optional><br>
|
|
1463
|
-
|
|
1464
1545
|
|
|
1465
1546
|
|
|
1466
1547
|
|
|
@@ -1470,20 +1551,20 @@ send session close request before connection close if session mode
|
|
|
1470
1551
|
|
|
1471
1552
|
|
|
1472
1553
|
|
|
1473
|
-
<td class="description last">The
|
|
1554
|
+
<td class="description last">The bytecode or script to send</td>
|
|
1474
1555
|
</tr>
|
|
1475
1556
|
|
|
1476
1557
|
|
|
1477
1558
|
|
|
1478
1559
|
<tr>
|
|
1479
1560
|
|
|
1480
|
-
<td class="name"><code>
|
|
1561
|
+
<td class="name"><code>bindings</code></td>
|
|
1481
1562
|
|
|
1482
1563
|
|
|
1483
1564
|
<td class="type">
|
|
1484
1565
|
|
|
1485
1566
|
|
|
1486
|
-
<span class="param-type">
|
|
1567
|
+
<span class="param-type">Object</span>
|
|
1487
1568
|
|
|
1488
1569
|
|
|
1489
1570
|
|
|
@@ -1503,20 +1584,20 @@ send session close request before connection close if session mode
|
|
|
1503
1584
|
|
|
1504
1585
|
|
|
1505
1586
|
|
|
1506
|
-
<td class="description last">
|
|
1587
|
+
<td class="description last">The script bindings, if any.</td>
|
|
1507
1588
|
</tr>
|
|
1508
1589
|
|
|
1509
1590
|
|
|
1510
1591
|
|
|
1511
1592
|
<tr>
|
|
1512
1593
|
|
|
1513
|
-
<td class="name"><code>
|
|
1594
|
+
<td class="name"><code>requestOptions</code></td>
|
|
1514
1595
|
|
|
1515
1596
|
|
|
1516
1597
|
<td class="type">
|
|
1517
1598
|
|
|
1518
1599
|
|
|
1519
|
-
<span class="param-type">
|
|
1600
|
+
<span class="param-type"><a href="global.html#RequestOptions">RequestOptions</a></span>
|
|
1520
1601
|
|
|
1521
1602
|
|
|
1522
1603
|
|
|
@@ -1536,14 +1617,7 @@ send session close request before connection close if session mode
|
|
|
1536
1617
|
|
|
1537
1618
|
|
|
1538
1619
|
|
|
1539
|
-
<td class="description last">
|
|
1540
|
-
</tr>
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
</tbody>
|
|
1544
|
-
</table>
|
|
1545
|
-
|
|
1546
|
-
</td>
|
|
1620
|
+
<td class="description last">Configuration specific to the current request.</td>
|
|
1547
1621
|
</tr>
|
|
1548
1622
|
|
|
1549
1623
|
|
|
@@ -1584,7 +1658,7 @@ send session close request before connection close if session mode
|
|
|
1584
1658
|
|
|
1585
1659
|
<dt class="tag-source">Source:</dt>
|
|
1586
1660
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1587
|
-
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#
|
|
1661
|
+
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#line91">line 91</a>
|
|
1588
1662
|
</li></ul></dd>
|
|
1589
1663
|
|
|
1590
1664
|
|
|
@@ -1654,7 +1728,7 @@ send session close request before connection close if session mode
|
|
|
1654
1728
|
<br class="clear">
|
|
1655
1729
|
|
|
1656
1730
|
<footer>
|
|
1657
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.
|
|
1731
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Mon Apr 11 2022 07:21:14 GMT-0400 (Eastern Daylight Time)
|
|
1658
1732
|
</footer>
|
|
1659
1733
|
|
|
1660
1734
|
<script> prettyPrint(); </script>
|