Modified: tinkerpop/site/docs/3.5.5-SNAPSHOT/tutorials/getting-started/index.html URL: http://svn.apache.org/viewvc/tinkerpop/site/docs/3.5.5-SNAPSHOT/tutorials/getting-started/index.html?rev=1906091&r1=1906090&r2=1906091&view=diff ============================================================================== --- tinkerpop/site/docs/3.5.5-SNAPSHOT/tutorials/getting-started/index.html (original) +++ tinkerpop/site/docs/3.5.5-SNAPSHOT/tutorials/getting-started/index.html Mon Dec 19 21:22:32 2022 @@ -973,10 +973,10 @@ Gremlin script that can be copied and pa <p>It can be instantiated in the console this way:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-1" type="radio" name="radio-set-1658932532-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-2" type="radio" name="radio-set-1658932532-1" class="tab-selector-2" /> - <label for="tab-1658932532-2" class="tab-label-2">groovy</label> + <input id="tab-1671451599-1" type="radio" name="radio-set-1671451599-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-2" type="radio" name="radio-set-1671451599-1" class="tab-selector-2" /> + <label for="tab-1671451599-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1036,10 +1036,10 @@ and to write (<a href="https://tinkerpop <p>With your <code>TraversalSource</code> <code>g</code> available it is now possible to ask Gremlin to traverse the <code>Graph</code>:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-3" type="radio" name="radio-set-1658932532-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-4" type="radio" name="radio-set-1658932532-3" class="tab-selector-2" /> - <label for="tab-1658932532-4" class="tab-label-2">groovy</label> + <input id="tab-1671451599-3" type="radio" name="radio-set-1671451599-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-4" type="radio" name="radio-set-1671451599-3" class="tab-selector-2" /> + <label for="tab-1671451599-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1209,10 +1209,10 @@ helps orient where you need him to go ne as an example. First, you need to create this graph:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-5" type="radio" name="radio-set-1658932532-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-6" type="radio" name="radio-set-1658932532-5" class="tab-selector-2" /> - <label for="tab-1658932532-6" class="tab-label-2">groovy</label> + <input id="tab-1671451599-5" type="radio" name="radio-set-1671451599-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-6" type="radio" name="radio-set-1671451599-5" class="tab-selector-2" /> + <label for="tab-1671451599-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1254,10 +1254,10 @@ shorthand form that enables a more fluid that static importing you would instead have to write:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-7" type="radio" name="radio-set-1658932532-7" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-7" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-8" type="radio" name="radio-set-1658932532-7" class="tab-selector-2" /> - <label for="tab-1658932532-8" class="tab-label-2">groovy</label> + <input id="tab-1671451599-7" type="radio" name="radio-set-1671451599-7" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-7" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-8" type="radio" name="radio-set-1671451599-7" class="tab-selector-2" /> + <label for="tab-1671451599-8" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1352,10 +1352,10 @@ those that have the "name" property valu <a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/reference/#has-step">has()</a> step as follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-9" type="radio" name="radio-set-1658932532-9" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-9" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-10" type="radio" name="radio-set-1658932532-9" class="tab-selector-2" /> - <label for="tab-1658932532-10" class="tab-label-2">groovy</label> + <input id="tab-1671451599-9" type="radio" name="radio-set-1671451599-9" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-9" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-10" type="radio" name="radio-set-1671451599-9" class="tab-selector-2" /> + <label for="tab-1671451599-10" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1395,10 +1395,10 @@ The variable <code>g</code> is the <code by including the vertex label as part of the filter to ensure that the "name" property key refers to a "person" vertex.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-11" type="radio" name="radio-set-1658932532-11" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-11" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-12" type="radio" name="radio-set-1658932532-11" class="tab-selector-2" /> - <label for="tab-1658932532-12" class="tab-label-2">groovy</label> + <input id="tab-1671451599-11" type="radio" name="radio-set-1671451599-11" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-11" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-12" type="radio" name="radio-set-1671451599-11" class="tab-selector-2" /> + <label for="tab-1671451599-12" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1451,10 +1451,10 @@ what direction to follow. In this case, we use the <a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/reference/#vertex-steps">outE</a> step.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-13" type="radio" name="radio-set-1658932532-13" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-13" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-14" type="radio" name="radio-set-1658932532-13" class="tab-selector-2" /> - <label for="tab-1658932532-14" class="tab-label-2">groovy</label> + <input id="tab-1671451599-13" type="radio" name="radio-set-1671451599-13" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-13" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-14" type="radio" name="radio-set-1671451599-13" class="tab-selector-2" /> + <label for="tab-1671451599-14" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1486,10 +1486,10 @@ we use the <a href="https://tinkerpop.ap vertex with <code>inV()</code>.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-15" type="radio" name="radio-set-1658932532-15" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-15" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-16" type="radio" name="radio-set-1658932532-15" class="tab-selector-2" /> - <label for="tab-1658932532-16" class="tab-label-2">groovy</label> + <input id="tab-1671451599-15" type="radio" name="radio-set-1671451599-15" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-15" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-16" type="radio" name="radio-set-1671451599-15" class="tab-selector-2" /> + <label for="tab-1671451599-16" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1521,10 +1521,10 @@ vertex with <code>inV()</code>.</p> statement above with:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-17" type="radio" name="radio-set-1658932532-17" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-17" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-18" type="radio" name="radio-set-1658932532-17" class="tab-selector-2" /> - <label for="tab-1658932532-18" class="tab-label-2">groovy</label> + <input id="tab-1671451599-17" type="radio" name="radio-set-1671451599-17" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-17" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-18" type="radio" name="radio-set-1671451599-17" class="tab-selector-2" /> + <label for="tab-1671451599-18" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1553,10 +1553,10 @@ statement above with:</p> "software" vertex and you can therefore ask Gremlin to extract the value of the "name" property as follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-19" type="radio" name="radio-set-1658932532-19" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-19" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-20" type="radio" name="radio-set-1658932532-19" class="tab-selector-2" /> - <label for="tab-1658932532-20" class="tab-label-2">groovy</label> + <input id="tab-1671451599-19" type="radio" name="radio-set-1671451599-19" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-19" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-20" type="radio" name="radio-set-1671451599-19" class="tab-selector-2" /> + <label for="tab-1671451599-20" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1591,10 +1591,10 @@ There’s not much more that can be the "First Five Minutes" section. Recall that you can create this <code>Graph</code> and establish a <code>TraversalSource</code> with:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-21" type="radio" name="radio-set-1658932532-21" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-21" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-22" type="radio" name="radio-set-1658932532-21" class="tab-selector-2" /> - <label for="tab-1658932532-22" class="tab-label-2">groovy</label> + <input id="tab-1671451599-21" type="radio" name="radio-set-1671451599-21" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-21" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-22" type="radio" name="radio-set-1671451599-21" class="tab-selector-2" /> + <label for="tab-1671451599-22" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1624,10 +1624,10 @@ use <code>has()</code>. What if we wante use the <code>within</code> comparator with <code>has()</code> as follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-23" type="radio" name="radio-set-1658932532-23" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-23" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-24" type="radio" name="radio-set-1658932532-23" class="tab-selector-2" /> - <label for="tab-1658932532-24" class="tab-label-2">groovy</label> + <input id="tab-1671451599-23" type="radio" name="radio-set-1671451599-23" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-23" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-24" type="radio" name="radio-set-1671451599-23" class="tab-selector-2" /> + <label for="tab-1671451599-24" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1672,10 +1672,10 @@ language you are interested in in the <a <a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/reference/#mean-step">mean()</a> step as follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-25" type="radio" name="radio-set-1658932532-25" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-25" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-26" type="radio" name="radio-set-1658932532-25" class="tab-selector-2" /> - <label for="tab-1658932532-26" class="tab-label-2">groovy</label> + <input id="tab-1671451599-25" type="radio" name="radio-set-1671451599-25" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-25" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-26" type="radio" name="radio-set-1671451599-25" class="tab-selector-2" /> + <label for="tab-1671451599-26" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1701,10 +1701,10 @@ language you are interested in in the <a step. We know how to find the "software" that "marko" created:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-27" type="radio" name="radio-set-1658932532-27" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-27" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-28" type="radio" name="radio-set-1658932532-27" class="tab-selector-2" /> - <label for="tab-1658932532-28" class="tab-label-2">groovy</label> + <input id="tab-1671451599-27" type="radio" name="radio-set-1671451599-27" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-27" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-28" type="radio" name="radio-set-1671451599-27" class="tab-selector-2" /> + <label for="tab-1671451599-28" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1747,10 +1747,10 @@ on what well-formatted Gremlin should lo </table> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-29" type="radio" name="radio-set-1658932532-29" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-29" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-30" type="radio" name="radio-set-1658932532-29" class="tab-selector-2" /> - <label for="tab-1658932532-30" class="tab-label-2">groovy</label> + <input id="tab-1671451599-29" type="radio" name="radio-set-1671451599-29" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-29" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-30" type="radio" name="radio-set-1671451599-29" class="tab-selector-2" /> + <label for="tab-1671451599-30" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1784,10 +1784,10 @@ on what well-formatted Gremlin should lo handles that exclusion:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-31" type="radio" name="radio-set-1658932532-31" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-31" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-32" type="radio" name="radio-set-1658932532-31" class="tab-selector-2" /> - <label for="tab-1658932532-32" class="tab-label-2">groovy</label> + <input id="tab-1671451599-31" type="radio" name="radio-set-1671451599-31" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-31" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-32" type="radio" name="radio-set-1671451599-31" class="tab-selector-2" /> + <label for="tab-1671451599-32" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1833,10 +1833,10 @@ filters out the "marko" that we get when <p>You will find many uses of <code>as()</code>. Here it is in combination with <a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/reference/#select-step">select</a>:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-33" type="radio" name="radio-set-1658932532-33" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-33" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-34" type="radio" name="radio-set-1658932532-33" class="tab-selector-2" /> - <label for="tab-1658932532-34" class="tab-label-2">groovy</label> + <input id="tab-1671451599-33" type="radio" name="radio-set-1671451599-33" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-33" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-34" type="radio" name="radio-set-1671451599-33" class="tab-selector-2" /> + <label for="tab-1671451599-34" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1871,10 +1871,10 @@ step and its related step modulator call we wanted to ask Gremlin to group all the vertices in the graph by their vertex label we could do:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-35" type="radio" name="radio-set-1658932532-35" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-35" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-36" type="radio" name="radio-set-1658932532-35" class="tab-selector-2" /> - <label for="tab-1658932532-36" class="tab-label-2">groovy</label> + <input id="tab-1671451599-35" type="radio" name="radio-set-1671451599-35" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-35" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-36" type="radio" name="radio-set-1671451599-35" class="tab-selector-2" /> + <label for="tab-1671451599-36" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1903,10 +1903,10 @@ could ask Gremlin to get us the value of modulator to <code>group()</code> to transform the values.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932532-37" type="radio" name="radio-set-1658932532-37" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-37" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-38" type="radio" name="radio-set-1658932532-37" class="tab-selector-2" /> - <label for="tab-1658932532-38" class="tab-label-2">groovy</label> + <input id="tab-1671451599-37" type="radio" name="radio-set-1671451599-37" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-37" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-38" type="radio" name="radio-set-1671451599-37" class="tab-selector-2" /> + <label for="tab-1671451599-38" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2105,18 +2105,18 @@ they help make Gremlin more accessible a language.</p> </div> <section class="tabs tabs-6"> - <input id="tab-1658932532-39" type="radio" name="radio-set-1658932532-39" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932532-39" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932532-40" type="radio" name="radio-set-1658932532-39" class="tab-selector-2" /> - <label for="tab-1658932532-40" class="tab-label-2">groovy</label> - <input id="tab-1658932532-41" type="radio" name="radio-set-1658932532-39" class="tab-selector-3" /> - <label for="tab-1658932532-41" class="tab-label-3">csharp</label> - <input id="tab-1658932532-42" type="radio" name="radio-set-1658932532-39" class="tab-selector-4" /> - <label for="tab-1658932532-42" class="tab-label-4">java</label> - <input id="tab-1658932532-43" type="radio" name="radio-set-1658932532-39" class="tab-selector-5" /> - <label for="tab-1658932532-43" class="tab-label-5">javascript</label> - <input id="tab-1658932532-44" type="radio" name="radio-set-1658932532-39" class="tab-selector-6" /> - <label for="tab-1658932532-44" class="tab-label-6">python</label> + <input id="tab-1671451599-39" type="radio" name="radio-set-1671451599-39" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451599-39" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451599-40" type="radio" name="radio-set-1671451599-39" class="tab-selector-2" /> + <label for="tab-1671451599-40" class="tab-label-2">groovy</label> + <input id="tab-1671451599-41" type="radio" name="radio-set-1671451599-39" class="tab-selector-3" /> + <label for="tab-1671451599-41" class="tab-label-3">csharp</label> + <input id="tab-1671451599-42" type="radio" name="radio-set-1671451599-39" class="tab-selector-4" /> + <label for="tab-1671451599-42" class="tab-label-4">java</label> + <input id="tab-1671451599-43" type="radio" name="radio-set-1671451599-39" class="tab-selector-5" /> + <label for="tab-1671451599-43" class="tab-label-5">javascript</label> + <input id="tab-1671451599-44" type="radio" name="radio-set-1671451599-39" class="tab-selector-6" /> + <label for="tab-1671451599-44" class="tab-label-6">python</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2200,7 +2200,7 @@ research within the reference documentat </div> <div id="footer"> <div id="footer-text"> -Last updated 2022-07-27 12:00:51 -0400 +Last updated 2022-12-19 08:40:03 -0500 </div> </div> </body>
Modified: tinkerpop/site/docs/3.5.5-SNAPSHOT/tutorials/gremlins-anatomy/index.html URL: http://svn.apache.org/viewvc/tinkerpop/site/docs/3.5.5-SNAPSHOT/tutorials/gremlins-anatomy/index.html?rev=1906091&r1=1906090&r2=1906091&view=diff ============================================================================== --- tinkerpop/site/docs/3.5.5-SNAPSHOT/tutorials/gremlins-anatomy/index.html (original) +++ tinkerpop/site/docs/3.5.5-SNAPSHOT/tutorials/gremlins-anatomy/index.html Mon Dec 19 21:22:32 2022 @@ -839,10 +839,10 @@ can be found <a href="https://www.slides <p>The component parts of a Gremlin traversal can be all be identified from the following code:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932733-1" type="radio" name="radio-set-1658932733-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932733-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932733-2" type="radio" name="radio-set-1658932733-1" class="tab-selector-2" /> - <label for="tab-1658932733-2" class="tab-label-2">groovy</label> + <input id="tab-1671451817-1" type="radio" name="radio-set-1671451817-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451817-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451817-2" type="radio" name="radio-set-1671451817-1" class="tab-selector-2" /> + <label for="tab-1671451817-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -884,10 +884,10 @@ documentation, blog posts, or examples a applications.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932733-3" type="radio" name="radio-set-1658932733-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932733-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932733-4" type="radio" name="radio-set-1658932733-3" class="tab-selector-2" /> - <label for="tab-1658932733-4" class="tab-label-2">groovy</label> + <input id="tab-1671451817-3" type="radio" name="radio-set-1671451817-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451817-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451817-4" type="radio" name="radio-set-1671451817-3" class="tab-selector-2" /> + <label for="tab-1671451817-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -972,10 +972,10 @@ contain the steps that make up the Greml chained together in a fluent fashion. Revisiting the example from above:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932733-5" type="radio" name="radio-set-1658932733-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932733-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932733-6" type="radio" name="radio-set-1658932733-5" class="tab-selector-2" /> - <label for="tab-1658932733-6" class="tab-label-2">groovy</label> + <input id="tab-1671451817-5" type="radio" name="radio-set-1671451817-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451817-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451817-6" type="radio" name="radio-set-1671451817-5" class="tab-selector-2" /> + <label for="tab-1671451817-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1145,7 +1145,7 @@ more insight into how Gremlin works and </div> <div id="footer"> <div id="footer-text"> -Last updated 2022-07-27 12:00:51 -0400 +Last updated 2022-12-19 08:40:03 -0500 </div> </div> </body> Modified: tinkerpop/site/docs/3.5.5-SNAPSHOT/tutorials/the-gremlin-console/index.html URL: http://svn.apache.org/viewvc/tinkerpop/site/docs/3.5.5-SNAPSHOT/tutorials/the-gremlin-console/index.html?rev=1906091&r1=1906090&r2=1906091&view=diff ============================================================================== --- tinkerpop/site/docs/3.5.5-SNAPSHOT/tutorials/the-gremlin-console/index.html (original) +++ tinkerpop/site/docs/3.5.5-SNAPSHOT/tutorials/the-gremlin-console/index.html Mon Dec 19 21:22:32 2022 @@ -920,10 +920,10 @@ graph database that is easy to use and d create an empty TinkerGraph as follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-1" type="radio" name="radio-set-1658932343-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-2" type="radio" name="radio-set-1658932343-1" class="tab-selector-2" /> - <label for="tab-1658932343-2" class="tab-label-2">groovy</label> + <input id="tab-1671451392-1" type="radio" name="radio-set-1671451392-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-2" type="radio" name="radio-set-1671451392-1" class="tab-selector-2" /> + <label for="tab-1671451392-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1015,10 +1015,10 @@ labels are defined and the "weight" edge </ul> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-3" type="radio" name="radio-set-1658932343-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-4" type="radio" name="radio-set-1658932343-3" class="tab-selector-2" /> - <label for="tab-1658932343-4" class="tab-label-2">groovy</label> + <input id="tab-1671451392-3" type="radio" name="radio-set-1671451392-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-4" type="radio" name="radio-set-1671451392-3" class="tab-selector-2" /> + <label for="tab-1671451392-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1051,10 +1051,10 @@ However, if you find that a larger graph (<a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/images/grateful-dead-schema.png">schema</a>).</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-5" type="radio" name="radio-set-1658932343-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-6" type="radio" name="radio-set-1658932343-5" class="tab-selector-2" /> - <label for="tab-1658932343-6" class="tab-label-2">groovy</label> + <input id="tab-1671451392-5" type="radio" name="radio-set-1671451392-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-6" type="radio" name="radio-set-1671451392-5" class="tab-selector-2" /> + <label for="tab-1671451392-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1108,10 +1108,10 @@ console works or performing a particular be accessed within the console itself with the <code>:help</code> command.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-7" type="radio" name="radio-set-1658932343-7" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-7" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-8" type="radio" name="radio-set-1658932343-7" class="tab-selector-2" /> - <label for="tab-1658932343-8" class="tab-label-2">groovy</label> + <input id="tab-1671451392-7" type="radio" name="radio-set-1671451392-7" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-7" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-8" type="radio" name="radio-set-1671451392-7" class="tab-selector-2" /> + <label for="tab-1671451392-8" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1173,10 +1173,10 @@ For help on a specific command <span cla addition to the ones provided by TinkerPop. You can also request help on a specific command:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-9" type="radio" name="radio-set-1658932343-9" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-9" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-10" type="radio" name="radio-set-1658932343-9" class="tab-selector-2" /> - <label for="tab-1658932343-10" class="tab-label-2">groovy</label> + <input id="tab-1671451392-9" type="radio" name="radio-set-1671451392-9" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-9" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-10" type="radio" name="radio-set-1671451392-9" class="tab-selector-2" /> + <label for="tab-1671451392-10" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1313,10 +1313,10 @@ key, which only has one vertex associate the IDE and execute it in the console and confirm the failure:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-11" type="radio" name="radio-set-1658932343-11" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-11" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-12" type="radio" name="radio-set-1658932343-11" class="tab-selector-2" /> - <label for="tab-1658932343-12" class="tab-label-2">groovy</label> + <input id="tab-1671451392-11" type="radio" name="radio-set-1671451392-11" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-11" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-12" type="radio" name="radio-set-1671451392-11" class="tab-selector-2" /> + <label for="tab-1671451392-12" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1352,10 +1352,10 @@ detects that type it steps through each <p>Trying it with the use of <code>next()</code> produces the following:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-13" type="radio" name="radio-set-1658932343-13" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-13" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-14" type="radio" name="radio-set-1658932343-13" class="tab-selector-2" /> - <label for="tab-1658932343-14" class="tab-label-2">groovy</label> + <input id="tab-1671451392-13" type="radio" name="radio-set-1671451392-13" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-13" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-14" type="radio" name="radio-set-1671451392-13" class="tab-selector-2" /> + <label for="tab-1671451392-14" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1390,10 +1390,10 @@ the call to <code>next()</code>. This f when you want to work with a <code>Traversal</code> as a variable. You can do this with a clever use of a semi-colon:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-15" type="radio" name="radio-set-1658932343-15" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-15" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-16" type="radio" name="radio-set-1658932343-15" class="tab-selector-2" /> - <label for="tab-1658932343-16" class="tab-label-2">groovy</label> + <input id="tab-1671451392-15" type="radio" name="radio-set-1671451392-15" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-15" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-16" type="radio" name="radio-set-1671451392-15" class="tab-selector-2" /> + <label for="tab-1671451392-16" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1473,10 +1473,10 @@ benefit, and as such, <code>inV()</code> can remedy that by adding <code>fold()</code> to <code>inV()</code> as follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-17" type="radio" name="radio-set-1658932343-17" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-17" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-18" type="radio" name="radio-set-1658932343-17" class="tab-selector-2" /> - <label for="tab-1658932343-18" class="tab-label-2">groovy</label> + <input id="tab-1671451392-17" type="radio" name="radio-set-1671451392-17" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-17" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-18" type="radio" name="radio-set-1671451392-17" class="tab-selector-2" /> + <label for="tab-1671451392-18" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1534,10 +1534,10 @@ can remedy that by adding <code>fold()</ as follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-19" type="radio" name="radio-set-1658932343-19" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-19" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-20" type="radio" name="radio-set-1658932343-19" class="tab-selector-2" /> - <label for="tab-1658932343-20" class="tab-label-2">groovy</label> + <input id="tab-1671451392-19" type="radio" name="radio-set-1671451392-19" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-19" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-20" type="radio" name="radio-set-1671451392-19" class="tab-selector-2" /> + <label for="tab-1671451392-20" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1632,10 +1632,10 @@ analysis on where people live and when t the data of the "person" vertices in the graph:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-21" type="radio" name="radio-set-1658932343-21" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-21" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-22" type="radio" name="radio-set-1658932343-21" class="tab-selector-2" /> - <label for="tab-1658932343-22" class="tab-label-2">groovy</label> + <input id="tab-1671451392-21" type="radio" name="radio-set-1671451392-21" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-21" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-22" type="radio" name="radio-set-1671451392-21" class="tab-selector-2" /> + <label for="tab-1671451392-22" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1674,10 +1674,10 @@ where "location" does not have one value has <a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/reference/#vertex-properties">meta-properties</a> as well:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-23" type="radio" name="radio-set-1658932343-23" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-23" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-24" type="radio" name="radio-set-1658932343-23" class="tab-selector-2" /> - <label for="tab-1658932343-24" class="tab-label-2">groovy</label> + <input id="tab-1671451392-23" type="radio" name="radio-set-1671451392-23" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-23" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-24" type="radio" name="radio-set-1671451392-23" class="tab-selector-2" /> + <label for="tab-1671451392-24" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1732,10 +1732,10 @@ data in two separate traversals and the the "person" vertices, as this will be the main filter for the data you intend to retrieve:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-25" type="radio" name="radio-set-1658932343-25" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-25" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-26" type="radio" name="radio-set-1658932343-25" class="tab-selector-2" /> - <label for="tab-1658932343-26" class="tab-label-2">groovy</label> + <input id="tab-1671451392-25" type="radio" name="radio-set-1671451392-25" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-25" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-26" type="radio" name="radio-set-1671451392-25" class="tab-selector-2" /> + <label for="tab-1671451392-26" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1787,10 +1787,10 @@ settings in <code>bin/gremlin.sh</code> <p>In an attempt to test things out, you take a naive approach at the traversal with your filter for "firstYear" applied:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-27" type="radio" name="radio-set-1658932343-27" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-27" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-28" type="radio" name="radio-set-1658932343-27" class="tab-selector-2" /> - <label for="tab-1658932343-28" class="tab-label-2">groovy</label> + <input id="tab-1671451392-27" type="radio" name="radio-set-1671451392-27" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-27" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-28" type="radio" name="radio-set-1671451392-27" class="tab-selector-2" /> + <label for="tab-1671451392-28" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1841,10 +1841,10 @@ Console, you decide to just process "l" see for your rows and columns style output:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-29" type="radio" name="radio-set-1658932343-29" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-29" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-30" type="radio" name="radio-set-1658932343-29" class="tab-selector-2" /> - <label for="tab-1658932343-30" class="tab-label-2">groovy</label> + <input id="tab-1671451392-29" type="radio" name="radio-set-1671451392-29" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-29" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-30" type="radio" name="radio-set-1671451392-29" class="tab-selector-2" /> + <label for="tab-1671451392-30" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1965,10 +1965,10 @@ similar to what happens when you decide you wish to use. To do this, you need to use the <code>import</code> command:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-31" type="radio" name="radio-set-1658932343-31" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-31" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-32" type="radio" name="radio-set-1658932343-31" class="tab-selector-2" /> - <label for="tab-1658932343-32" class="tab-label-2">groovy</label> + <input id="tab-1671451392-31" type="radio" name="radio-set-1671451392-31" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-31" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-32" type="radio" name="radio-set-1671451392-31" class="tab-selector-2" /> + <label for="tab-1671451392-32" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1997,10 +1997,10 @@ Year.now()</code></pre> to produce the set of years to have for each person up to the current year:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-33" type="radio" name="radio-set-1658932343-33" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-33" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-34" type="radio" name="radio-set-1658932343-33" class="tab-selector-2" /> - <label for="tab-1658932343-34" class="tab-label-2">groovy</label> + <input id="tab-1671451392-33" type="radio" name="radio-set-1671451392-33" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-33" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-34" type="radio" name="radio-set-1671451392-33" class="tab-selector-2" /> + <label for="tab-1671451392-34" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2114,10 +2114,10 @@ g.V().hasLabel(<span class="string"><spa <p>From there you can build on that traversal to grab the "location" given the generated "year" for that data:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1658932343-35" type="radio" name="radio-set-1658932343-35" class="tab-selector-1" checked="checked" /> - <label for="tab-1658932343-35" class="tab-label-1">console (groovy)</label> - <input id="tab-1658932343-36" type="radio" name="radio-set-1658932343-35" class="tab-selector-2" /> - <label for="tab-1658932343-36" class="tab-label-2">groovy</label> + <input id="tab-1671451392-35" type="radio" name="radio-set-1671451392-35" class="tab-selector-1" checked="checked" /> + <label for="tab-1671451392-35" class="tab-label-1">console (groovy)</label> + <input id="tab-1671451392-36" type="radio" name="radio-set-1671451392-35" class="tab-selector-2" /> + <label for="tab-1671451392-36" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2408,7 +2408,7 @@ knowledge on what the console can do for </div> <div id="footer"> <div id="footer-text"> -Last updated 2022-07-27 12:00:51 -0400 +Last updated 2022-12-19 08:40:03 -0500 </div> </div> </body> Modified: tinkerpop/site/docs/3.5.5-SNAPSHOT/upgrade/index.html URL: http://svn.apache.org/viewvc/tinkerpop/site/docs/3.5.5-SNAPSHOT/upgrade/index.html?rev=1906091&r1=1906090&r2=1906091&view=diff ============================================================================== --- tinkerpop/site/docs/3.5.5-SNAPSHOT/upgrade/index.html (original) +++ tinkerpop/site/docs/3.5.5-SNAPSHOT/upgrade/index.html Mon Dec 19 21:22:32 2022 @@ -807,13 +807,19 @@ table.CodeRay td.code>pre{padding:0} <ul class="sectlevel1"> <li><a href="#_tinkerpop_3_5_5">TinkerPop 3.5.5</a> <ul class="sectlevel2"> -<li><a href="#_upgrading_for_users">Upgrading for Users</a></li> +<li><a href="#_upgrading_for_users">Upgrading for Users</a> +<ul class="sectlevel3"> +<li><a href="#_gremlin_net_add_logging">Gremlin.NET: Add logging</a></li> +<li><a href="#_gremlin_driver_host_availability">gremlin-driver Host Availability</a></li> +</ul> +</li> </ul> </li> <li><a href="#_tinkerpop_3_5_4">TinkerPop 3.5.4</a> <ul class="sectlevel2"> <li><a href="#_upgrading_for_users_2">Upgrading for Users</a> <ul class="sectlevel3"> +<li><a href="#_sparkioutil_utility">SparkIOUtil utility</a></li> <li><a href="#_gremlin_go">Gremlin-Go</a></li> <li><a href="#_graphbinary_support_for_gremlin_javascript">GraphBinary support for gremlin-javascript</a></li> <li><a href="#_deprecated_connectonstartup_option_in_gremlin_javascript">Deprecated connectOnStartup option in gremlin-javascript</a></li> @@ -1716,7 +1722,79 @@ complete list of all the modifications t </div> <div class="sect2"> <h3 id="_upgrading_for_users">Upgrading for Users</h3> - +<div class="sect3"> +<h4 id="_gremlin_net_add_logging">Gremlin.NET: Add logging</h4> +<div class="paragraph"> +<p>The Gremlin.NET driver can now be configured for logging to get more insights into its internal state, like when +a connection was closed and will therefore be replaced. It uses <code>Microsoft.Extensions.Logging</code> for this so all kinds +of different .NET logging implementations can be used.</p> +</div> +<div class="paragraph"> +<p>The following example shows how to provide a <code>LoggerFactory</code> that is configured to log to the console to +<code>GremlinClient</code>:</p> +</div> +<div class="listingblock"> +<div class="content"> +<pre class="CodeRay highlight"><code data-lang="csharp">var loggerFactory = LoggerFactory.Create(builder => +{ + builder.AddConsole(); +}); +var client = new GremlinClient(new GremlinServer("localhost", 8182), loggerFactory: loggerFactory);</code></pre> +</div> +</div> +<div class="paragraph"> +<p>See: <a href="https://issues.apache.org/jira/browse/TINKERPOP-2471">TINKERPOP-2471</a></p> +</div> +</div> +<div class="sect3"> +<h4 id="_gremlin_driver_host_availability">gremlin-driver Host Availability</h4> +<div class="paragraph"> +<p>The Java drivers approach to determine the health of the host to which it is connected is important to how it behaves. +The driver has generally taken a pessimistic approach to make this determination, where a failure to borrow a +connection from the pool would constitute enough evidence to mark the host as dead. Unfortunately a failure to borrow +from the pool is not the best indicator for a dead host. Intermittent network failure, an overly busy client, or other +temporary issues could have been at play while the server was perfectly available.</p> +</div> +<div class="paragraph"> +<p>The consequences for marking a host dead are fairly severe as the connection pool is shutdown. While it is shutdown +in an orderly fashion so as to allow for existing requests to complete if at all possible, it immediately blocks new +requests producing an immediate <code>NoHostAvailableException</code> (assuming there are actually no other hosts to route +requests to). There is then some delay to reconnect to the server and re-establish each of the connections in the pool, +which might take some time especially if there was a large pool. If an application were sending hundreds of requests +a second, it would quickly equate to hundreds of exceptions a second, filling logs quickly and making it hard to +decipher the original root cause from that initial inability to simply borrow a connection.</p> +</div> +<div class="paragraph"> +<p>For 3.5.5, the driver has dropped some of its pessimistic ways and has taken a more optimistic posture when it comes +to considering host availability. When the driver now has a problem borrowing a connection from the pool, it does not +assume the worst of a failed host. It instead checks if the other connections in the pool are still alive. If at least +one is alive it assumes the host is still available and the user simply gets a <code>TimeoutException</code> for waiting beyond +the <code>maxWaitForConnection</code> setting. In the event that there are no connections deemed alive, the driver will try to +issue an immediate reconnect to determine host health. If the reconnect succeeds then the host remains in an available +state for future requests and if it fails it is finally marked as dead and thus unavailable.</p> +</div> +<div class="paragraph"> +<p>If a host is marked unavailable, the driver, like before, will try to route requests to other configured hosts that +are healthy. If there are no such other hosts and all are unhealthy, the driver will now make an immediate attempt to +route the request to a random unavailable host on the chance it will come back online and the connection pool thus +re-established. So, rather than a <code>NoHostAvailableException</code> flood, the user would instead see a <code>TimeoutException</code> +per request made.</p> +</div> +<div class="paragraph"> +<p>Since the driver was already throwing <code>NoHostAvailableException</code> and <code>TimeoutException</code>, there shouldn’t be too +many code changes required on upgrade to this version. The main difference to consider is that +<code>NoHostAvailableException</code> should appear less often, so any code that mitigated against a flood of these exceptions +might not be necessary anymore. One should also consider that if code was relying on the asynchronous +properties that <code>Client.submitAsync()</code> implies in its name, that code may now see more blocking behavior than +before. In doing this refactoring, it was noted that the connection borrowing behavior has never behaved in a truly +asynchronous manner and only the fast <code>NoHostAvailableException</code> aspect of that method behavior really contributed to +an asynchronous looking call for failed connection borrowing. With the fast <code>NoHostAvailableException</code> gone, it may be +more likely now to note blocking behavior when a connection cannot be obtained.</p> +</div> +<div class="paragraph"> +<p>See: <a href="https://issues.apache.org/jira/browse/TINKERPOP-2813">TINKERPOP-2813</a></p> +</div> +</div> </div> </div> </div> @@ -1733,6 +1811,13 @@ complete list of all the modifications t <div class="sect2"> <h3 id="_upgrading_for_users_2">Upgrading for Users</h3> <div class="sect3"> +<h4 id="_sparkioutil_utility">SparkIOUtil utility</h4> +<div class="paragraph"> +<p>A utility class <code>SparkIOUtil</code> is introduces, which allows users to load graph into Spark RDD via +<code>loadVertices(org.apache.commons.configuration2.Configuration, JavaSparkContext)</code> method.</p> +</div> +</div> +<div class="sect3"> <h4 id="_gremlin_go">Gremlin-Go</h4> <div class="paragraph"> <p>After introducing a number of release candidates over the past several months, the official release of Gremlin-Go is now @@ -2529,7 +2614,7 @@ future releases on the 3.5.x line. </div> <div class="paragraph"> <p>See: <a href="https://issues.apache.org/jira/browse/TINKERPOP-2537">TINKERPOP-2537</a>, -<a href="https://tinkerpop.apache.org/docs/current/reference/#transactions">Reference Documentation - Transactions</a></p> +<a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/reference/#transactions">Reference Documentation - Transactions</a></p> </div> </div> <div class="sect3"> @@ -2983,7 +3068,7 @@ used by setting <code>call_from_event_lo </div> <div class="paragraph"> <p>See: <a href="https://issues.apache.org/jira/browse/TINKERPOP-1641">TINKERPOP-1641</a>, -<a href="https://tinkerpop.apache.org/docs/current/reference/#gremlin-python-connecting">Reference Documentation</a></p> +<a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/reference/#gremlin-python-connecting">Reference Documentation</a></p> </div> </div> <div class="sect3"> @@ -6739,7 +6824,7 @@ can compete with the <code>scriptEvaluat <div class="paragraph"> <p>The Credential DSL has been modified to work as a standard Java-based Gremlin DSL. The now deprecated old approach used a "graph wrapping" style that was developed long before the -<a href="https://tinkerpop.apache.org/docs/current/reference/#gremlin-java-dsl">recommended method</a> for building DSLs was +<a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/reference/#gremlin-java-dsl">recommended method</a> for building DSLs was published. Under this new model, the DSL is initialized via traversal as follows:</p> </div> <div class="listingblock"> @@ -8027,8 +8112,8 @@ The packaged <code>*-secure.yaml</code> <p>PEM-based configurations are deprecated and may be removed in a future release.</p> </div> <div class="paragraph"> -<p>See also <a href="https://tinkerpop.apache.org/docs/current/reference/#_configuration">Connecting via Java Configuration</a>, -<a href="https://tinkerpop.apache.org/docs/current/reference/#_configuring_2">Gremlin Server Configuration</a>.</p> +<p>See also <a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/reference/#_configuration">Connecting via Java Configuration</a>, +<a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/reference/#_configuring_2">Gremlin Server Configuration</a>.</p> </div> <div class="paragraph"> <p><a href="https://issues.apache.org/jira/browse/TINKERPOP-2022">TINKERPOP-2022</a> @@ -8066,8 +8151,8 @@ $ docker run tinkerpop/gremlin-server:3. </div> <div class="paragraph"> <p>See: <a href="https://issues.apache.org/jira/browse/TINKERPOP-1897">TINKERPOP-1897</a>, -<a href="https://tinkerpop.apache.org/docs/current/reference#gremlin-console-docker-image">Reference Documentation - Gremlin Console</a>, -<a href="https://tinkerpop.apache.org/docs/current/reference#gremlin-server-docker-image">Reference Documentation - Gremlin Server</a>,</p> +<a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/reference#gremlin-console-docker-image">Reference Documentation - Gremlin Console</a>, +<a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/reference#gremlin-server-docker-image">Reference Documentation - Gremlin Server</a>,</p> </div> </div> <div class="sect3"> @@ -8640,7 +8725,7 @@ fix this problem simply reconfigure Grem <div class="paragraph"> <p>The <code>GremlinScriptEngine</code> has a number of new metrics about its cache size and script compilation times which should be helpful in understanding usage problems. As <code>GremlinScriptEngine</code> instances are used in Gremlin Server these metrics -are naturally exposed as part of the standard <a href="https://tinkerpop.apache.org/docs/current/reference/#_metrics">metrics</a> +are naturally exposed as part of the standard <a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/reference/#_metrics">metrics</a> set. Note that metrics are captured for both sessionless requests as well as for each individual session that is opened.</p> </div> <div class="paragraph"> @@ -9120,7 +9205,7 @@ and defaults to <code>false</code>.</p> </div> <div class="paragraph"> <p>See: <a href="https://issues.apache.org/jira/browse/TINKERPOP-932">TINKERPOP-932</a>, -<a href="https://tinkerpop.apache.org/docs/current/dev/provider/#_session_opprocessor">Provider Documentation - Session OpProcessor</a></p> +<a href="https://tinkerpop.apache.org/docs/3.5.5-SNAPSHOT/dev/provider/#_session_opprocessor">Provider Documentation - Session OpProcessor</a></p> </div> </div> <div class="sect4"> @@ -12004,7 +12089,7 @@ gremlin> g.E() </div> <div id="footer"> <div id="footer-text"> -Last updated 2022-07-27 12:10:11 -0400 +Last updated 2022-12-19 16:19:02 -0500 </div> </div> </body> Modified: tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.ConnectionPoolSettings.html URL: http://svn.apache.org/viewvc/tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.ConnectionPoolSettings.html?rev=1906091&r1=1906090&r2=1906091&view=diff ============================================================================== --- tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.ConnectionPoolSettings.html (original) +++ tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.ConnectionPoolSettings.html Mon Dec 19 21:22:32 2022 @@ -123,6 +123,35 @@ </div> <h3 id="properties">Properties </h3> + <a id="Gremlin_Net_Driver_ConnectionPoolSettings_EnableUserAgentOnConnect_" data-uid="Gremlin.Net.Driver.ConnectionPoolSettings.EnableUserAgentOnConnect*"></a> + <h4 id="Gremlin_Net_Driver_ConnectionPoolSettings_EnableUserAgentOnConnect" data-uid="Gremlin.Net.Driver.ConnectionPoolSettings.EnableUserAgentOnConnect">EnableUserAgentOnConnect</h4> + <div class="markdown level1 summary"><p>Gets or sets whether a connection pool will send a user agent during web socket handshakes</p> +</div> + <div class="markdown level1 conceptual"></div> + <h5 class="decalaration">Declaration</h5> + <div class="codewrapper"> + <pre><code class="lang-csharp hljs">public bool EnableUserAgentOnConnect { get; set; }</code></pre> + </div> + <h5 class="propertyValue">Property Value</h5> + <table class="table table-bordered table-striped table-condensed"> + <thead> + <tr> + <th>Type</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td><span class="xref">System.Boolean</span></td> + <td></td> + </tr> + </tbody> + </table> + <h5 id="Gremlin_Net_Driver_ConnectionPoolSettings_EnableUserAgentOnConnect_remarks">Remarks</h5> + <div class="markdown level1 remarks"><p>The default value is true. When enabled, user agents will only be sent during the web socket +handshake. User agent follows the form: +[Application Name] [GLV Name].[Version] [Language Runtime Version] [OS].[Version] [CPU Architecture]</p> +</div> <a id="Gremlin_Net_Driver_ConnectionPoolSettings_MaxInProcessPerConnection_" data-uid="Gremlin.Net.Driver.ConnectionPoolSettings.MaxInProcessPerConnection*"></a> <h4 id="Gremlin_Net_Driver_ConnectionPoolSettings_MaxInProcessPerConnection" data-uid="Gremlin.Net.Driver.ConnectionPoolSettings.MaxInProcessPerConnection">MaxInProcessPerConnection</h4> <div class="markdown level1 summary"><p>Gets or sets the maximum number of in-flight requests that can occur on a connection.</p> Modified: tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.GremlinClient.html URL: http://svn.apache.org/viewvc/tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.GremlinClient.html?rev=1906091&r1=1906090&r2=1906091&view=diff ============================================================================== --- tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.GremlinClient.html (original) +++ tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.GremlinClient.html Mon Dec 19 21:22:32 2022 @@ -253,13 +253,13 @@ object used to configure WebSocket conne </tbody> </table> <a id="Gremlin_Net_Driver_GremlinClient__ctor_" data-uid="Gremlin.Net.Driver.GremlinClient.#ctor*"></a> - <h4 id="Gremlin_Net_Driver_GremlinClient__ctor_Gremlin_Net_Driver_GremlinServer_Gremlin_Net_Driver_IMessageSerializer_Gremlin_Net_Driver_ConnectionPoolSettings_System_Action_ClientWebSocketOptions__System_String_System_Boolean_" data-uid="Gremlin.Net.Driver.GremlinClient.#ctor(Gremlin.Net.Driver.GremlinServer,Gremlin.Net.Driver.IMessageSerializer,Gremlin.Net.Driver.ConnectionPoolSettings,System.Action{ClientWebSocketOptions},System.String,System.Boolean)">GremlinClient(GremlinServer, IMessageSerializer, ConnectionPoolSettings, Action<ClientWebSocketOptions>, String, Boolean)</h4> + <h4 id="Gremlin_Net_Driver_GremlinClient__ctor_Gremlin_Net_Driver_GremlinServer_Gremlin_Net_Driver_IMessageSerializer_Gremlin_Net_Driver_ConnectionPoolSettings_System_Action_ClientWebSocketOptions__System_String_System_Boolean_ILoggerFactory_" data-uid="Gremlin.Net.Driver.GremlinClient.#ctor(Gremlin.Net.Driver.GremlinServer,Gremlin.Net.Driver.IMessageSerializer,Gremlin.Net.Driver.ConnectionPoolSettings,System.Action{ClientWebSocketOptions},System.String,System.Boolean,ILoggerFactory)">GremlinClient(GremlinServer, IMessageSerializer, ConnectionPoolSettings, Action<ClientWebSocketOptions>, String, Boolean, ILoggerFactory)</h4> <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Gremlin.Net.Driver.GremlinClient.html">GremlinClient</a> class for the specified Gremlin Server.</p> </div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> - <pre><code class="lang-csharp hljs">public GremlinClient(GremlinServer gremlinServer, IMessageSerializer messageSerializer = null, ConnectionPoolSettings connectionPoolSettings = null, Action<ClientWebSocketOptions> webSocketConfiguration = null, string sessionId = null, bool disableCompression = false)</code></pre> + <pre><code class="lang-csharp hljs">public GremlinClient(GremlinServer gremlinServer, IMessageSerializer messageSerializer = null, ConnectionPoolSettings connectionPoolSettings = null, Action<ClientWebSocketOptions> webSocketConfiguration = null, string sessionId = null, bool disableCompression = false, ILoggerFactory loggerFactory = null)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> @@ -313,6 +313,12 @@ should therefore be turned off if your a that could potentially be controlled by an untrusted user.</p> </td> </tr> + <tr> + <td><span class="xref">ILoggerFactory</span></td> + <td><span class="parametername">loggerFactory</span></td> + <td><p>A factory to create loggers. If not provided, then nothing will be logged.</p> +</td> + </tr> </tbody> </table> <h3 id="properties">Properties @@ -379,12 +385,12 @@ that could potentially be controlled by </tbody> </table> <a id="Gremlin_Net_Driver_GremlinClient_SubmitAsync_" data-uid="Gremlin.Net.Driver.GremlinClient.SubmitAsync*"></a> - <h4 id="Gremlin_Net_Driver_GremlinClient_SubmitAsync__1_RequestMessage_" data-uid="Gremlin.Net.Driver.GremlinClient.SubmitAsync``1(RequestMessage)">SubmitAsync<T>(RequestMessage)</h4> + <h4 id="Gremlin_Net_Driver_GremlinClient_SubmitAsync__1_RequestMessage_CancellationToken_" data-uid="Gremlin.Net.Driver.GremlinClient.SubmitAsync``1(RequestMessage,CancellationToken)">SubmitAsync<T>(RequestMessage, CancellationToken)</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> - <pre><code class="lang-csharp hljs">public async Task<ResultSet<T>> SubmitAsync<T>(RequestMessage requestMessage)</code></pre> + <pre><code class="lang-csharp hljs">public async Task<ResultSet<T>> SubmitAsync<T>(RequestMessage requestMessage, CancellationToken cancellationToken = null)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> @@ -401,6 +407,11 @@ that could potentially be controlled by <td><span class="parametername">requestMessage</span></td> <td></td> </tr> + <tr> + <td><span class="xref">CancellationToken</span></td> + <td><span class="parametername">cancellationToken</span></td> + <td></td> + </tr> </tbody> </table> <h5 class="returns">Returns</h5> Modified: tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.GremlinClientExtensions.html URL: http://svn.apache.org/viewvc/tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.GremlinClientExtensions.html?rev=1906091&r1=1906090&r2=1906091&view=diff ============================================================================== --- tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.GremlinClientExtensions.html (original) +++ tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.GremlinClientExtensions.html Mon Dec 19 21:22:32 2022 @@ -124,14 +124,14 @@ <h3 id="methods">Methods </h3> <a id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitAsync_" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitAsync*"></a> - <h4 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitAsync_Gremlin_Net_Driver_IGremlinClient_RequestMessage_" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitAsync(Gremlin.Net.Driver.IGremlinClient,RequestMessage)">SubmitAsync(IGremlinClient, RequestMessage)</h4> + <h4 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitAsync_Gremlin_Net_Driver_IGremlinClient_RequestMessage_CancellationToken_" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitAsync(Gremlin.Net.Driver.IGremlinClient,RequestMessage,CancellationToken)">SubmitAsync(IGremlinClient, RequestMessage, CancellationToken)</h4> <div class="markdown level1 summary"><p>Submits a request message as an asynchronous operation without returning the result received from the Gremlin Server.</p> </div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> - <pre><code class="lang-csharp hljs">public static async Task SubmitAsync(this IGremlinClient gremlinClient, RequestMessage requestMessage)</code></pre> + <pre><code class="lang-csharp hljs">public static async Task SubmitAsync(this IGremlinClient gremlinClient, RequestMessage requestMessage, CancellationToken cancellationToken = null)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> @@ -155,6 +155,12 @@ Server.</p> <td><p>The <see cref="!:RequestMessage"></see> to send.</p> </td> </tr> + <tr> + <td><span class="xref">CancellationToken</span></td> + <td><span class="parametername">cancellationToken</span></td> + <td><p>The token to cancel the operation. The default value is None.</p> +</td> + </tr> </tbody> </table> <h5 class="returns">Returns</h5> @@ -191,14 +197,14 @@ that an error occurred.</p> </tbody> </table> <a id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitAsync_" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitAsync*"></a> - <h4 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitAsync_Gremlin_Net_Driver_IGremlinClient_System_String_Dictionary_System_String_System_Object__" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitAsync(Gremlin.Net.Driver.IGremlinClient,System.String,Dictionary{System.String,System.Object})">SubmitAsync(IGremlinClient, String, Dictionary<String, Object>)</h4> + <h4 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitAsync_Gremlin_Net_Driver_IGremlinClient_System_String_Dictionary_System_String_System_Object__CancellationToken_" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitAsync(Gremlin.Net.Driver.IGremlinClient,System.String,Dictionary{System.String,System.Object},CancellationToken)">SubmitAsync(IGremlinClient, String, Dictionary<String, Object>, CancellationToken)</h4> <div class="markdown level1 summary"><p>Submits a request message that consists of a script with bindings as an asynchronous operation without returning the result received from the Gremlin Server.</p> </div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> - <pre><code class="lang-csharp hljs">public static async Task SubmitAsync(this IGremlinClient gremlinClient, string requestScript, Dictionary<string, object> bindings = null)</code></pre> + <pre><code class="lang-csharp hljs">public static async Task SubmitAsync(this IGremlinClient gremlinClient, string requestScript, Dictionary<string, object> bindings = null, CancellationToken cancellationToken = null)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> @@ -228,6 +234,12 @@ the result received from the Gremlin Ser <td><p>Bindings for parameters used in the requestScript.</p> </td> </tr> + <tr> + <td><span class="xref">CancellationToken</span></td> + <td><span class="parametername">cancellationToken</span></td> + <td><p>The token to cancel the operation. The default value is None.</p> +</td> + </tr> </tbody> </table> <h5 class="returns">Returns</h5> @@ -264,13 +276,13 @@ that an error occurred.</p> </tbody> </table> <a id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitAsync_" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitAsync*"></a> - <h4 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitAsync__1_Gremlin_Net_Driver_IGremlinClient_System_String_Dictionary_System_String_System_Object__" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitAsync``1(Gremlin.Net.Driver.IGremlinClient,System.String,Dictionary{System.String,System.Object})">SubmitAsync<T>(IGremlinClient, String, Dictionary<String, Object>)</h4> + <h4 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitAsync__1_Gremlin_Net_Driver_IGremlinClient_System_String_Dictionary_System_String_System_Object__CancellationToken_" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitAsync``1(Gremlin.Net.Driver.IGremlinClient,System.String,Dictionary{System.String,System.Object},CancellationToken)">SubmitAsync<T>(IGremlinClient, String, Dictionary<String, Object>, CancellationToken)</h4> <div class="markdown level1 summary"><p>Submits a request message that consists of a script with bindings as an asynchronous operation.</p> </div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> - <pre><code class="lang-csharp hljs">public static async Task<ResultSet<T>> SubmitAsync<T>(this IGremlinClient gremlinClient, string requestScript, Dictionary<string, object> bindings = null)</code></pre> + <pre><code class="lang-csharp hljs">public static async Task<ResultSet<T>> SubmitAsync<T>(this IGremlinClient gremlinClient, string requestScript, Dictionary<string, object> bindings = null, CancellationToken cancellationToken = null)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> @@ -300,6 +312,12 @@ that an error occurred.</p> <td><p>Bindings for parameters used in the requestScript.</p> </td> </tr> + <tr> + <td><span class="xref">CancellationToken</span></td> + <td><span class="parametername">cancellationToken</span></td> + <td><p>The token to cancel the operation. The default value is None.</p> +</td> + </tr> </tbody> </table> <h5 class="returns">Returns</h5> @@ -352,13 +370,13 @@ that an error occurred.</p> </tbody> </table> <a id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitWithSingleResultAsync_" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitWithSingleResultAsync*"></a> - <h4 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitWithSingleResultAsync__1_Gremlin_Net_Driver_IGremlinClient_RequestMessage_" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitWithSingleResultAsync``1(Gremlin.Net.Driver.IGremlinClient,RequestMessage)">SubmitWithSingleResultAsync<T>(IGremlinClient, RequestMessage)</h4> + <h4 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitWithSingleResultAsync__1_Gremlin_Net_Driver_IGremlinClient_RequestMessage_CancellationToken_" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitWithSingleResultAsync``1(Gremlin.Net.Driver.IGremlinClient,RequestMessage,CancellationToken)">SubmitWithSingleResultAsync<T>(IGremlinClient, RequestMessage, CancellationToken)</h4> <div class="markdown level1 summary"><p>Submits a request message as an asynchronous operation where only a single result gets returned.</p> </div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> - <pre><code class="lang-csharp hljs">public static async Task<T> SubmitWithSingleResultAsync<T>(this IGremlinClient gremlinClient, RequestMessage requestMessage)</code></pre> + <pre><code class="lang-csharp hljs">public static async Task<T> SubmitWithSingleResultAsync<T>(this IGremlinClient gremlinClient, RequestMessage requestMessage, CancellationToken cancellationToken = null)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> @@ -382,6 +400,12 @@ that an error occurred.</p> <td><p>The <see cref="!:RequestMessage"></see> to send.</p> </td> </tr> + <tr> + <td><span class="xref">CancellationToken</span></td> + <td><span class="parametername">cancellationToken</span></td> + <td><p>The token to cancel the operation. The default value is None.</p> +</td> + </tr> </tbody> </table> <h5 class="returns">Returns</h5> @@ -416,9 +440,9 @@ that an error occurred.</p> </tr> </tbody> </table> - <h5 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitWithSingleResultAsync__1_Gremlin_Net_Driver_IGremlinClient_RequestMessage__remarks">Remarks</h5> + <h5 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitWithSingleResultAsync__1_Gremlin_Net_Driver_IGremlinClient_RequestMessage_CancellationToken__remarks">Remarks</h5> <div class="markdown level1 remarks"><p>If multiple results are received from Gremlin Server, then only the first gets returned. Use -<a class="xref" href="Gremlin.Net.Driver.GremlinClientExtensions.html#Gremlin_Net_Driver_GremlinClientExtensions_SubmitAsync__1_Gremlin_Net_Driver_IGremlinClient_System_String_Dictionary_System_String_System_Object__">SubmitAsync<T>(IGremlinClient, String, Dictionary<String, Object>)</a> instead when you expect a collection of results.</p> +<a class="xref" href="Gremlin.Net.Driver.GremlinClientExtensions.html#Gremlin_Net_Driver_GremlinClientExtensions_SubmitAsync__1_Gremlin_Net_Driver_IGremlinClient_System_String_Dictionary_System_String_System_Object__CancellationToken_">SubmitAsync<T>(IGremlinClient, String, Dictionary<String, Object>, CancellationToken)</a> instead when you expect a collection of results.</p> </div> <h5 class="exceptions">Exceptions</h5> <table class="table table-bordered table-striped table-condensed"> @@ -438,14 +462,14 @@ that an error occurred.</p> </tbody> </table> <a id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitWithSingleResultAsync_" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitWithSingleResultAsync*"></a> - <h4 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitWithSingleResultAsync__1_Gremlin_Net_Driver_IGremlinClient_System_String_Dictionary_System_String_System_Object__" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitWithSingleResultAsync``1(Gremlin.Net.Driver.IGremlinClient,System.String,Dictionary{System.String,System.Object})">SubmitWithSingleResultAsync<T>(IGremlinClient, String, Dictionary<String, Object>)</h4> + <h4 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitWithSingleResultAsync__1_Gremlin_Net_Driver_IGremlinClient_System_String_Dictionary_System_String_System_Object__CancellationToken_" data-uid="Gremlin.Net.Driver.GremlinClientExtensions.SubmitWithSingleResultAsync``1(Gremlin.Net.Driver.IGremlinClient,System.String,Dictionary{System.String,System.Object},CancellationToken)">SubmitWithSingleResultAsync<T>(IGremlinClient, String, Dictionary<String, Object>, CancellationToken)</h4> <div class="markdown level1 summary"><p>Submits a request message that consists of a script with bindings as an asynchronous operation where only a single result gets returned.</p> </div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> - <pre><code class="lang-csharp hljs">public static async Task<T> SubmitWithSingleResultAsync<T>(this IGremlinClient gremlinClient, string requestScript, Dictionary<string, object> bindings = null)</code></pre> + <pre><code class="lang-csharp hljs">public static async Task<T> SubmitWithSingleResultAsync<T>(this IGremlinClient gremlinClient, string requestScript, Dictionary<string, object> bindings = null, CancellationToken cancellationToken = null)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> @@ -475,6 +499,12 @@ result gets returned.</p> <td><p>Bindings for parameters used in the requestScript.</p> </td> </tr> + <tr> + <td><span class="xref">CancellationToken</span></td> + <td><span class="parametername">cancellationToken</span></td> + <td><p>The token to cancel the operation. The default value is None.</p> +</td> + </tr> </tbody> </table> <h5 class="returns">Returns</h5> @@ -509,9 +539,9 @@ result gets returned.</p> </tr> </tbody> </table> - <h5 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitWithSingleResultAsync__1_Gremlin_Net_Driver_IGremlinClient_System_String_Dictionary_System_String_System_Object___remarks">Remarks</h5> + <h5 id="Gremlin_Net_Driver_GremlinClientExtensions_SubmitWithSingleResultAsync__1_Gremlin_Net_Driver_IGremlinClient_System_String_Dictionary_System_String_System_Object__CancellationToken__remarks">Remarks</h5> <div class="markdown level1 remarks"><p>If multiple results are received from Gremlin Server, then only the first gets returned. Use -<a class="xref" href="Gremlin.Net.Driver.GremlinClientExtensions.html#Gremlin_Net_Driver_GremlinClientExtensions_SubmitAsync__1_Gremlin_Net_Driver_IGremlinClient_System_String_Dictionary_System_String_System_Object__">SubmitAsync<T>(IGremlinClient, String, Dictionary<String, Object>)</a> instead when you expect a collection of results.</p> +<a class="xref" href="Gremlin.Net.Driver.GremlinClientExtensions.html#Gremlin_Net_Driver_GremlinClientExtensions_SubmitAsync__1_Gremlin_Net_Driver_IGremlinClient_System_String_Dictionary_System_String_System_Object__CancellationToken_">SubmitAsync<T>(IGremlinClient, String, Dictionary<String, Object>, CancellationToken)</a> instead when you expect a collection of results.</p> </div> <h5 class="exceptions">Exceptions</h5> <table class="table table-bordered table-striped table-condensed"> Modified: tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.IGremlinClient.html URL: http://svn.apache.org/viewvc/tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.IGremlinClient.html?rev=1906091&r1=1906090&r2=1906091&view=diff ============================================================================== --- tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.IGremlinClient.html (original) +++ tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.IGremlinClient.html Mon Dec 19 21:22:32 2022 @@ -101,13 +101,13 @@ <h3 id="methods">Methods </h3> <a id="Gremlin_Net_Driver_IGremlinClient_SubmitAsync_" data-uid="Gremlin.Net.Driver.IGremlinClient.SubmitAsync*"></a> - <h4 id="Gremlin_Net_Driver_IGremlinClient_SubmitAsync__1_RequestMessage_" data-uid="Gremlin.Net.Driver.IGremlinClient.SubmitAsync``1(RequestMessage)">SubmitAsync<T>(RequestMessage)</h4> + <h4 id="Gremlin_Net_Driver_IGremlinClient_SubmitAsync__1_RequestMessage_CancellationToken_" data-uid="Gremlin.Net.Driver.IGremlinClient.SubmitAsync``1(RequestMessage,CancellationToken)">SubmitAsync<T>(RequestMessage, CancellationToken)</h4> <div class="markdown level1 summary"><p>Submits a request message as an asynchronous operation.</p> </div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> - <pre><code class="lang-csharp hljs">Task<ResultSet<T>> SubmitAsync<T>(RequestMessage requestMessage)</code></pre> + <pre><code class="lang-csharp hljs">Task<ResultSet<T>> SubmitAsync<T>(RequestMessage requestMessage, CancellationToken cancellationToken = null)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> @@ -125,6 +125,12 @@ <td><p>The <see cref="!:RequestMessage"></see> to send.</p> </td> </tr> + <tr> + <td><span class="xref">CancellationToken</span></td> + <td><span class="parametername">cancellationToken</span></td> + <td><p>The token to cancel the operation. The default value is None.</p> +</td> + </tr> </tbody> </table> <h5 class="returns">Returns</h5> Modified: tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.IMessageSerializer.html URL: http://svn.apache.org/viewvc/tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.IMessageSerializer.html?rev=1906091&r1=1906090&r2=1906091&view=diff ============================================================================== --- tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.IMessageSerializer.html (original) +++ tinkerpop/site/dotnetdocs/3.5.5-SNAPSHOT/api/Gremlin.Net.Driver.IMessageSerializer.html Mon Dec 19 21:22:32 2022 @@ -95,13 +95,13 @@ <h3 id="methods">Methods </h3> <a id="Gremlin_Net_Driver_IMessageSerializer_DeserializeMessageAsync_" data-uid="Gremlin.Net.Driver.IMessageSerializer.DeserializeMessageAsync*"></a> - <h4 id="Gremlin_Net_Driver_IMessageSerializer_DeserializeMessageAsync_System_Byte___" data-uid="Gremlin.Net.Driver.IMessageSerializer.DeserializeMessageAsync(System.Byte[])">DeserializeMessageAsync(Byte[])</h4> + <h4 id="Gremlin_Net_Driver_IMessageSerializer_DeserializeMessageAsync_System_Byte___CancellationToken_" data-uid="Gremlin.Net.Driver.IMessageSerializer.DeserializeMessageAsync(System.Byte[],CancellationToken)">DeserializeMessageAsync(Byte[], CancellationToken)</h4> <div class="markdown level1 summary"><p>Deserializes a <see cref="!:ResponseMessage<T>"></see> from a byte array.</p> </div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> - <pre><code class="lang-csharp hljs">Task<ResponseMessage<List<object>>> DeserializeMessageAsync(byte[] message)</code></pre> + <pre><code class="lang-csharp hljs">Task<ResponseMessage<List<object>>> DeserializeMessageAsync(byte[] message, CancellationToken cancellationToken = null)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> @@ -119,6 +119,12 @@ <td><p>The serialized message to deserialize.</p> </td> </tr> + <tr> + <td><span class="xref">CancellationToken</span></td> + <td><span class="parametername">cancellationToken</span></td> + <td><p>The token to cancel the operation. The default value is None.</p> +</td> + </tr> </tbody> </table> <h5 class="returns">Returns</h5> @@ -138,13 +144,13 @@ </tbody> </table> <a id="Gremlin_Net_Driver_IMessageSerializer_SerializeMessageAsync_" data-uid="Gremlin.Net.Driver.IMessageSerializer.SerializeMessageAsync*"></a> - <h4 id="Gremlin_Net_Driver_IMessageSerializer_SerializeMessageAsync_RequestMessage_" data-uid="Gremlin.Net.Driver.IMessageSerializer.SerializeMessageAsync(RequestMessage)">SerializeMessageAsync(RequestMessage)</h4> + <h4 id="Gremlin_Net_Driver_IMessageSerializer_SerializeMessageAsync_RequestMessage_CancellationToken_" data-uid="Gremlin.Net.Driver.IMessageSerializer.SerializeMessageAsync(RequestMessage,CancellationToken)">SerializeMessageAsync(RequestMessage, CancellationToken)</h4> <div class="markdown level1 summary"><p>Serializes a <see cref="!:RequestMessage"></see>.</p> </div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> - <pre><code class="lang-csharp hljs">Task<byte[]> SerializeMessageAsync(RequestMessage requestMessage)</code></pre> + <pre><code class="lang-csharp hljs">Task<byte[]> SerializeMessageAsync(RequestMessage requestMessage, CancellationToken cancellationToken = null)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> @@ -162,6 +168,12 @@ <td><p>The <see cref="!:RequestMessage"></see> to serialize.</p> </td> </tr> + <tr> + <td><span class="xref">CancellationToken</span></td> + <td><span class="parametername">cancellationToken</span></td> + <td><p>The token to cancel the operation. The default value is None.</p> +</td> + </tr> </tbody> </table> <h5 class="returns">Returns</h5>
