gremlin 3.5.0 → 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.
Files changed (91) hide show
  1. package/.eslintrc.js +154 -0
  2. package/.prettierrc.js +29 -0
  3. package/Gruntfile.js +15 -16
  4. package/NOTICE +1 -1
  5. package/doc/AnonymousTraversalSource.html +7 -7
  6. package/doc/Authenticator.html +3 -3
  7. package/doc/Bytecode.html +249 -5
  8. package/doc/Client.html +139 -65
  9. package/doc/Connection.html +90 -6
  10. package/doc/DriverRemoteConnection.html +380 -8
  11. package/doc/EdgeLabelVerificationStrategy.html +3 -3
  12. package/doc/Graph.html +2 -2
  13. package/doc/GraphSON2Reader.html +4 -4
  14. package/doc/GraphSON2Writer.html +3 -3
  15. package/doc/GraphSON3Reader.html +3 -3
  16. package/doc/GraphSON3Writer.html +3 -3
  17. package/doc/GraphTraversal.html +107 -107
  18. package/doc/GraphTraversalSource.html +130 -19
  19. package/doc/HaltedTraverserStrategy.html +3 -3
  20. package/doc/MatchAlgorithmStrategy.html +3 -3
  21. package/doc/P.html +13 -13
  22. package/doc/PartitionStrategy.html +3 -3
  23. package/doc/Path.html +2 -2
  24. package/doc/PlainTextSaslAuthenticator.html +2 -2
  25. package/doc/ProductiveByStrategy.html +288 -0
  26. package/doc/RemoteConnection.html +484 -10
  27. package/doc/RemoteStrategy.html +4 -4
  28. package/doc/RemoteTraversal.html +3 -3
  29. package/doc/ReservedKeysVerificationStrategy.html +3 -3
  30. package/doc/ResponseError.html +3 -3
  31. package/doc/ResultSet.html +8 -8
  32. package/doc/SaslAuthenticator.html +2 -2
  33. package/doc/SaslMechanismBase.html +3 -3
  34. package/doc/SaslMechanismPlain.html +6 -6
  35. package/doc/{GraphSONReader.html → SeedStrategy.html} +12 -15
  36. package/doc/SubgraphStrategy.html +3 -3
  37. package/doc/TextP.html +10 -10
  38. package/doc/Transaction.html +655 -0
  39. package/doc/Translator.html +200 -6
  40. package/doc/TraversalStrategies.html +137 -4
  41. package/doc/TraversalStrategy.html +4 -4
  42. package/doc/TypeSerializer.html +2 -2
  43. package/doc/driver_auth_authenticator.js.html +4 -4
  44. package/doc/driver_auth_mechanisms_sasl-mechanism-base.js.html +3 -3
  45. package/doc/driver_auth_mechanisms_sasl-mechanism-plain.js.html +26 -17
  46. package/doc/driver_auth_plain-text-sasl-authenticator.js.html +7 -7
  47. package/doc/driver_auth_sasl-authenticator.js.html +3 -3
  48. package/doc/driver_client.js.html +75 -25
  49. package/doc/driver_connection.js.html +108 -89
  50. package/doc/driver_driver-remote-connection.js.html +40 -9
  51. package/doc/driver_remote-connection.js.html +47 -6
  52. package/doc/driver_response-error.js.html +5 -4
  53. package/doc/driver_result-set.js.html +4 -4
  54. package/doc/global.html +200 -3
  55. package/doc/index.html +2 -2
  56. package/doc/process_anonymous-traversal.js.html +5 -5
  57. package/doc/process_bytecode.js.html +32 -7
  58. package/doc/process_graph-traversal.js.html +213 -143
  59. package/doc/process_transaction.js.html +143 -0
  60. package/doc/process_translator.js.html +58 -39
  61. package/doc/process_traversal-strategy.js.html +79 -52
  62. package/doc/process_traversal.js.html +101 -108
  63. package/doc/structure_graph.js.html +7 -7
  64. package/doc/structure_io_graph-serializer.js.html +65 -18
  65. package/doc/structure_io_type-serializers.js.html +86 -89
  66. package/index.js +5 -5
  67. package/lib/driver/auth/authenticator.js +2 -2
  68. package/lib/driver/auth/mechanisms/sasl-mechanism-base.js +1 -1
  69. package/lib/driver/auth/mechanisms/sasl-mechanism-plain.js +24 -15
  70. package/lib/driver/auth/plain-text-sasl-authenticator.js +5 -5
  71. package/lib/driver/auth/sasl-authenticator.js +1 -1
  72. package/lib/driver/client.js +73 -23
  73. package/lib/driver/connection.js +106 -87
  74. package/lib/driver/driver-remote-connection.js +38 -7
  75. package/lib/driver/remote-connection.js +45 -4
  76. package/lib/driver/response-error.js +2 -2
  77. package/lib/driver/result-set.js +1 -2
  78. package/lib/process/anonymous-traversal.js +2 -3
  79. package/lib/process/bytecode.js +30 -5
  80. package/lib/process/graph-traversal.js +210 -141
  81. package/lib/process/transaction.js +92 -0
  82. package/lib/process/translator.js +55 -37
  83. package/lib/process/traversal-strategy.js +76 -50
  84. package/lib/process/traversal.js +99 -106
  85. package/lib/structure/graph.js +5 -5
  86. package/lib/structure/io/graph-serializer.js +62 -16
  87. package/lib/structure/io/type-serializers.js +84 -87
  88. package/lib/utils.js +15 -10
  89. package/package.json +11 -5
  90. package/doc/GraphSONWriter.html +0 -436
  91. package/gremlin-javascript.iml +0 -9
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
- grunt.loadNpmTasks('grunt-jsdoc');
24
- grunt.initConfig({
25
- jsdoc : {
26
- dist : {
27
- src: ['lib'],
28
- options: {
29
- destination: 'doc',
30
- recurse: true,
31
- readme: 'README.md'
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
+ };
package/NOTICE CHANGED
@@ -1,5 +1,5 @@
1
1
  Apache TinkerPop
2
- Copyright 2015-2019 The Apache Software Foundation.
2
+ Copyright 2015-2021 The Apache Software Foundation.
3
3
 
4
4
  This product includes software developed at
5
5
  The Apache Software Foundation (http://www.apache.org/).
@@ -160,7 +160,7 @@ instance or a <code>RemoteConnection</code>.</div>
160
160
 
161
161
  <dt class="tag-source">Source:</dt>
162
162
  <dd class="tag-source"><ul class="dummy"><li>
163
- <a href="process_anonymous-traversal.js.html">process/anonymous-traversal.js</a>, <a href="process_anonymous-traversal.js.html#line38">line 38</a>
163
+ <a href="process_anonymous-traversal.js.html">process/anonymous-traversal.js</a>, <a href="process_anonymous-traversal.js.html#line32">line 32</a>
164
164
  </li></ul></dd>
165
165
 
166
166
 
@@ -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#line48">line 48</a>
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#line73">line 73</a>
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
 
@@ -601,7 +601,7 @@ reference so that traversals spawned from it will execute over that reference.
601
601
  <td class="type">
602
602
 
603
603
 
604
- <span class="param-type"><a href="GraphTraversalSource.html">GraphTraversalSource</a></span>
604
+ <span class="param-type"><a href="RemoteConnection.html">RemoteConnection</a></span>
605
605
 
606
606
 
607
607
 
@@ -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#line58">line 58</a>
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
 
@@ -716,13 +716,13 @@ reference so that traversals spawned from it will execute over that reference.
716
716
  </div>
717
717
 
718
718
  <nav>
719
- <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>
719
+ <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>
720
720
  </nav>
721
721
 
722
722
  <br class="clear">
723
723
 
724
724
  <footer>
725
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Mon May 10 2021 08:06:59 GMT-0400 (Eastern Daylight Time)
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>
@@ -89,7 +89,7 @@
89
89
 
90
90
  <dt class="tag-source">Source:</dt>
91
91
  <dd class="tag-source"><ul class="dummy"><li>
92
- <a href="driver_auth_authenticator.js.html">driver/auth/authenticator.js</a>, <a href="driver_auth_authenticator.js.html#line24">line 24</a>
92
+ <a href="driver_auth_authenticator.js.html">driver/auth/authenticator.js</a>, <a href="driver_auth_authenticator.js.html#line23">line 23</a>
93
93
  </li></ul></dd>
94
94
 
95
95
 
@@ -288,13 +288,13 @@
288
288
  </div>
289
289
 
290
290
  <nav>
291
- <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>
291
+ <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>
292
292
  </nav>
293
293
 
294
294
  <br class="clear">
295
295
 
296
296
  <footer>
297
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Mon May 10 2021 08:06:59 GMT-0400 (Eastern Daylight Time)
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
@@ -200,6 +200,72 @@
200
200
 
201
201
 
202
202
 
203
+ <h3 class="subsection-title">Members</h3>
204
+
205
+
206
+
207
+ <h4 class="name" id=".GraphOp"><span class="type-signature">(static) </span>GraphOp<span class="type-signature"></span></h4>
208
+
209
+
210
+
211
+
212
+ <div class="description">
213
+ Gets the <code>Bytecode</code> that is meant to be sent as "graph operations" to the server.
214
+ </div>
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+ <dl class="details">
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+ <dt class="tag-source">Source:</dt>
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#line116">line 116</a>
252
+ </li></ul></dd>
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+ </dl>
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
203
269
 
204
270
 
205
271
  <h3 class="subsection-title">Methods</h3>
@@ -210,6 +276,184 @@
210
276
 
211
277
 
212
278
 
279
+ <h4 class="name" id="._createGraphOp"><span class="type-signature">(static) </span>_createGraphOp<span class="signature">(name, values)</span><span class="type-signature"> &rarr; {<a href="Bytecode.html">Bytecode</a>}</span></h4>
280
+
281
+
282
+
283
+
284
+
285
+
286
+ <div class="description">
287
+ Adds a new source instructions
288
+ </div>
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+ <h5>Parameters:</h5>
299
+
300
+
301
+ <table class="params">
302
+ <thead>
303
+ <tr>
304
+
305
+ <th>Name</th>
306
+
307
+
308
+ <th>Type</th>
309
+
310
+
311
+
312
+
313
+
314
+ <th class="last">Description</th>
315
+ </tr>
316
+ </thead>
317
+
318
+ <tbody>
319
+
320
+
321
+ <tr>
322
+
323
+ <td class="name"><code>name</code></td>
324
+
325
+
326
+ <td class="type">
327
+
328
+
329
+ <span class="param-type">String</span>
330
+
331
+
332
+
333
+ </td>
334
+
335
+
336
+
337
+
338
+
339
+ <td class="description last"></td>
340
+ </tr>
341
+
342
+
343
+
344
+ <tr>
345
+
346
+ <td class="name"><code>values</code></td>
347
+
348
+
349
+ <td class="type">
350
+
351
+
352
+ <span class="param-type">Array</span>
353
+
354
+
355
+
356
+ </td>
357
+
358
+
359
+
360
+
361
+
362
+ <td class="description last"></td>
363
+ </tr>
364
+
365
+
366
+ </tbody>
367
+ </table>
368
+
369
+
370
+
371
+
372
+
373
+
374
+ <dl class="details">
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+ <dt class="tag-source">Source:</dt>
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#line106">line 106</a>
404
+ </li></ul></dd>
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+ </dl>
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+ <h5>Returns:</h5>
429
+
430
+
431
+
432
+
433
+ <dl>
434
+ <dt>
435
+ Type
436
+ </dt>
437
+ <dd>
438
+
439
+ <span class="param-type"><a href="Bytecode.html">Bytecode</a></span>
440
+
441
+
442
+ </dd>
443
+ </dl>
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
213
457
  <h4 class="name" id="addSource"><span class="type-signature"></span>addSource<span class="signature">(name, values)</span><span class="type-signature"> &rarr; {<a href="Bytecode.html">Bytecode</a>}</span></h4>
214
458
 
215
459
 
@@ -334,7 +578,7 @@
334
578
 
335
579
  <dt class="tag-source">Source:</dt>
336
580
  <dd class="tag-source"><ul class="dummy"><li>
337
- <a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#line49">line 49</a>
581
+ <a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#line48">line 48</a>
338
582
  </li></ul></dd>
339
583
 
340
584
 
@@ -512,7 +756,7 @@
512
756
 
513
757
  <dt class="tag-source">Source:</dt>
514
758
  <dd class="tag-source"><ul class="dummy"><li>
515
- <a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#line68">line 68</a>
759
+ <a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#line67">line 67</a>
516
760
  </li></ul></dd>
517
761
 
518
762
 
@@ -618,7 +862,7 @@
618
862
 
619
863
  <dt class="tag-source">Source:</dt>
620
864
  <dd class="tag-source"><ul class="dummy"><li>
621
- <a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#line94">line 94</a>
865
+ <a href="process_bytecode.js.html">process/bytecode.js</a>, <a href="process_bytecode.js.html#line96">line 96</a>
622
866
  </li></ul></dd>
623
867
 
624
868
 
@@ -682,13 +926,13 @@
682
926
  </div>
683
927
 
684
928
  <nav>
685
- <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>
929
+ <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>
686
930
  </nav>
687
931
 
688
932
  <br class="clear">
689
933
 
690
934
  <footer>
691
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Mon May 10 2021 08:06:59 GMT-0400 (Eastern Daylight Time)
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)
692
936
  </footer>
693
937
 
694
938
  <script> prettyPrint(); </script>