UNPKG

gremlin

Version:

JavaScript Gremlin Language Variant

3,834 lines (971 loc) 45.2 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Class: GraphTraversalSource</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> </head> <body> <div id="main"> <h1 class="page-title">Class: GraphTraversalSource</h1> <section> <header> <h2><span class="attribs"><span class="type-signature"></span></span>GraphTraversalSource<span class="signature">(graph, traversalStrategies, bytecode<span class="signature-attributes">opt</span>, graphTraversalSourceClass<span class="signature-attributes">opt</span>, graphTraversalClass<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h2> <div class="class-description">Represents the primary DSL of the Gremlin traversal machine.</div> </header> <article> <div class="container-overview"> <h2>Constructor</h2> <h4 class="name" id="GraphTraversalSource"><span class="type-signature"></span>new GraphTraversalSource<span class="signature">(graph, traversalStrategies, bytecode<span class="signature-attributes">opt</span>, graphTraversalSourceClass<span class="signature-attributes">opt</span>, graphTraversalClass<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4> <div class="description"> Creates a new instance of <a href="GraphTraversalSource.html">GraphTraversalSource</a>. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>graph</code></td> <td class="type"> <span class="param-type"><a href="Graph.html">Graph</a></span> </td> <td class="attributes"> </td> <td class="description last"></td> </tr> <tr> <td class="name"><code>traversalStrategies</code></td> <td class="type"> <span class="param-type"><a href="TraversalStrategies.html">TraversalStrategies</a></span> </td> <td class="attributes"> </td> <td class="description last"></td> </tr> <tr> <td class="name"><code>bytecode</code></td> <td class="type"> <span class="param-type"><a href="Bytecode.html">Bytecode</a></span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="description last"></td> </tr> <tr> <td class="name"><code>graphTraversalSourceClass</code></td> <td class="type"> <span class="param-type">function</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="description last">Optional <a href="GraphTraversalSource.html">GraphTraversalSource</a> constructor.</td> </tr> <tr> <td class="name"><code>graphTraversalClass</code></td> <td class="type"> <span class="param-type">function</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="description last">Optional <a href="GraphTraversal.html">GraphTraversal</a> constructor.</td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line34">line 34</a> </li></ul></dd> </dl> </div> <h3 class="subsection-title">Methods</h3> <h4 class="name" id="addE"><span class="type-signature"></span>addE<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversal.html">GraphTraversal</a>}</span></h4> <div class="description"> addE GraphTraversalSource step method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line276">line 276</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversal.html">GraphTraversal</a></span> </dd> </dl> <h4 class="name" id="addV"><span class="type-signature"></span>addV<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversal.html">GraphTraversal</a>}</span></h4> <div class="description"> addV GraphTraversalSource step method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line296">line 296</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversal.html">GraphTraversal</a></span> </dd> </dl> <h4 class="name" id="call"><span class="type-signature"></span>call<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversal.html">GraphTraversal</a>}</span></h4> <div class="description"> call GraphTraversalSource step method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line336">line 336</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversal.html">GraphTraversal</a></span> </dd> </dl> <h4 class="name" id="E"><span class="type-signature"></span>E<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversal.html">GraphTraversal</a>}</span></h4> <div class="description"> E GraphTraversalSource step method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line256">line 256</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversal.html">GraphTraversal</a></span> </dd> </dl> <h4 class="name" id="inject"><span class="type-signature"></span>inject<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversal.html">GraphTraversal</a>}</span></h4> <div class="description"> inject GraphTraversalSource step method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line316">line 316</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversal.html">GraphTraversal</a></span> </dd> </dl> <h4 class="name" id="io"><span class="type-signature"></span>io<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversal.html">GraphTraversal</a>}</span></h4> <div class="description"> io GraphTraversalSource step method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line326">line 326</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversal.html">GraphTraversal</a></span> </dd> </dl> <h4 class="name" id="mergeE"><span class="type-signature"></span>mergeE<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversal.html">GraphTraversal</a>}</span></h4> <div class="description"> mergeV GraphTraversalSource step method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line286">line 286</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversal.html">GraphTraversal</a></span> </dd> </dl> <h4 class="name" id="mergeV"><span class="type-signature"></span>mergeV<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversal.html">GraphTraversal</a>}</span></h4> <div class="description"> mergeV GraphTraversalSource step method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line306">line 306</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversal.html">GraphTraversal</a></span> </dd> </dl> <h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span></h4> <div class="description"> Returns the string representation of the GraphTraversalSource. </div> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line151">line 151</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type">string</span> </dd> </dl> <h4 class="name" id="tx"><span class="type-signature"></span>tx<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="Transaction.html">Transaction</a>}</span></h4> <div class="description"> Spawn a new <code>Transaction</code> object that can then start and stop a transaction. </div> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line77">line 77</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="Transaction.html">Transaction</a></span> </dd> </dl> <h4 class="name" id="union"><span class="type-signature"></span>union<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversal.html">GraphTraversal</a>}</span></h4> <div class="description"> union GraphTraversalSource method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line346">line 346</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversal.html">GraphTraversal</a></span> </dd> </dl> <h4 class="name" id="V"><span class="type-signature"></span>V<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversal.html">GraphTraversal</a>}</span></h4> <div class="description"> V GraphTraversalSource step method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line266">line 266</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversal.html">GraphTraversal</a></span> </dd> </dl> <h4 class="name" id="with_"><span class="type-signature"></span>with_<span class="signature">(key, value)</span><span class="type-signature"> &rarr; {<a href="GraphTraversalSource.html">GraphTraversalSource</a>}</span></h4> <div class="description"> Graph Traversal Source with method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>key</code></td> <td class="type"> <span class="param-type">String</span> </td> <td class="description last"></td> </tr> <tr> <td class="name"><code>value</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="description last">if not specified, the value with default to {@code true}</td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line128">line 128</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversalSource.html">GraphTraversalSource</a></span> </dd> </dl> <h4 class="name" id="withBulk"><span class="type-signature"></span>withBulk<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversalSource.html">GraphTraversalSource</a>}</span></h4> <div class="description"> Graph Traversal Source withBulk method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line160">line 160</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversalSource.html">GraphTraversalSource</a></span> </dd> </dl> <h4 class="name" id="withComputer"><span class="type-signature"></span>withComputer<span class="signature">(graphComputer, workers, result, persist, vertices, edges, configuration)</span><span class="type-signature"> &rarr; {<a href="GraphTraversalSource.html">GraphTraversalSource</a>}</span></h4> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>graphComputer</code></td> <td class="type"> </td> <td class="description last"></td> </tr> <tr> <td class="name"><code>workers</code></td> <td class="type"> </td> <td class="description last"></td> </tr> <tr> <td class="name"><code>result</code></td> <td class="type"> </td> <td class="description last"></td> </tr> <tr> <td class="name"><code>persist</code></td> <td class="type"> </td> <td class="description last"></td> </tr> <tr> <td class="name"><code>vertices</code></td> <td class="type"> </td> <td class="description last"></td> </tr> <tr> <td class="name"><code>edges</code></td> <td class="type"> </td> <td class="description last"></td> </tr> <tr> <td class="name"><code>configuration</code></td> <td class="type"> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line96">line 96</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversalSource.html">GraphTraversalSource</a></span> </dd> </dl> <h4 class="name" id="withoutStrategies"><span class="type-signature"></span>withoutStrategies<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversalSource.html">GraphTraversalSource</a>}</span></h4> <div class="description"> Graph Traversal Source withoutStrategies method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line240">line 240</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversalSource.html">GraphTraversalSource</a></span> </dd> </dl> <h4 class="name" id="withPath"><span class="type-signature"></span>withPath<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversalSource.html">GraphTraversalSource</a>}</span></h4> <div class="description"> Graph Traversal Source withPath method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line176">line 176</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversalSource.html">GraphTraversalSource</a></span> </dd> </dl> <h4 class="name" id="withRemote"><span class="type-signature"></span>withRemote<span class="signature">(remoteConnection)</span><span class="type-signature"> &rarr; {<a href="GraphTraversalSource.html">GraphTraversalSource</a>}</span></h4> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>remoteConnection</code></td> <td class="type"> <span class="param-type"><a href="RemoteConnection.html">RemoteConnection</a></span> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line61">line 61</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversalSource.html">GraphTraversalSource</a></span> </dd> </dl> <h4 class="name" id="withSack"><span class="type-signature"></span>withSack<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversalSource.html">GraphTraversalSource</a>}</span></h4> <div class="description"> Graph Traversal Source withSack method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line192">line 192</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversalSource.html">GraphTraversalSource</a></span> </dd> </dl> <h4 class="name" id="withSideEffect"><span class="type-signature"></span>withSideEffect<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversalSource.html">GraphTraversalSource</a>}</span></h4> <div class="description"> Graph Traversal Source withSideEffect method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line208">line 208</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversalSource.html">GraphTraversalSource</a></span> </dd> </dl> <h4 class="name" id="withStrategies"><span class="type-signature"></span>withStrategies<span class="signature">(&hellip;args)</span><span class="type-signature"> &rarr; {<a href="GraphTraversalSource.html">GraphTraversalSource</a>}</span></h4> <div class="description"> Graph Traversal Source withStrategies method. </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Attributes</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>args</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="process_graph-traversal.js.html">process/graph-traversal.js</a>, <a href="process_graph-traversal.js.html#line224">line 224</a> </li></ul></dd> </dl> <h5>Returns:</h5> <dl> <dt> Type </dt> <dd> <span class="param-type"><a href="GraphTraversalSource.html">GraphTraversalSource</a></span> </dd> </dl> </article> </section> </div> <nav> <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="CardinalityValue.html">CardinalityValue</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="module.exports.html">exports</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="SeedStrategy.html">SeedStrategy</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#DataType">DataType</a></li><li><a href="global.html#statics">statics</a></li><li><a href="global.html#toArrayBuffer">toArrayBuffer</a></li></ul> </nav> <br class="clear"> <footer> Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Aug 08 2025 09:56:43 GMT-0700 (Pacific Daylight Time) </footer> <script> prettyPrint(); </script> <script src="scripts/linenumber.js"> </script> </body> </html>