Modified: tinkerpop/site/docs/4.0.0-SNAPSHOT/tutorials/getting-started/index.html URL: http://svn.apache.org/viewvc/tinkerpop/site/docs/4.0.0-SNAPSHOT/tutorials/getting-started/index.html?rev=1923180&r1=1923179&r2=1923180&view=diff ============================================================================== --- tinkerpop/site/docs/4.0.0-SNAPSHOT/tutorials/getting-started/index.html (original) +++ tinkerpop/site/docs/4.0.0-SNAPSHOT/tutorials/getting-started/index.html Fri Jan 17 02:11:00 2025 @@ -892,7 +892,7 @@ $ bin/gremlin.sh \,,,/ (o o) ------oOOo-(3)-oOOo----- +-----oOOo-(4)-oOOo----- plugin activated: tinkerpop.server plugin activated: tinkerpop.utilities plugin activated: tinkerpop.tinkergraph @@ -991,10 +991,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-1733358750-1" type="radio" name="radio-set-1733358750-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-2" type="radio" name="radio-set-1733358750-1" class="tab-selector-2" /> - <label for="tab-1733358750-2" class="tab-label-2">groovy</label> + <input id="tab-1737073782-1" type="radio" name="radio-set-1737073782-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-2" type="radio" name="radio-set-1737073782-1" class="tab-selector-2" /> + <label for="tab-1737073782-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1054,10 +1054,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-1733358750-3" type="radio" name="radio-set-1733358750-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-4" type="radio" name="radio-set-1733358750-3" class="tab-selector-2" /> - <label for="tab-1733358750-4" class="tab-label-2">groovy</label> + <input id="tab-1737073782-3" type="radio" name="radio-set-1737073782-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-4" type="radio" name="radio-set-1737073782-3" class="tab-selector-2" /> + <label for="tab-1737073782-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1227,10 +1227,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-1733358750-5" type="radio" name="radio-set-1733358750-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-6" type="radio" name="radio-set-1733358750-5" class="tab-selector-2" /> - <label for="tab-1733358750-6" class="tab-label-2">groovy</label> + <input id="tab-1737073782-5" type="radio" name="radio-set-1737073782-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-6" type="radio" name="radio-set-1737073782-5" class="tab-selector-2" /> + <label for="tab-1737073782-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1272,10 +1272,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-1733358750-7" type="radio" name="radio-set-1733358750-7" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-7" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-8" type="radio" name="radio-set-1733358750-7" class="tab-selector-2" /> - <label for="tab-1733358750-8" class="tab-label-2">groovy</label> + <input id="tab-1737073782-7" type="radio" name="radio-set-1737073782-7" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-7" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-8" type="radio" name="radio-set-1737073782-7" class="tab-selector-2" /> + <label for="tab-1737073782-8" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1370,10 +1370,10 @@ those that have the "name" property valu <a href="https://tinkerpop.apache.org/docs/4.0.0-SNAPSHOT/reference/#has-step">has()</a> step as follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1733358750-9" type="radio" name="radio-set-1733358750-9" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-9" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-10" type="radio" name="radio-set-1733358750-9" class="tab-selector-2" /> - <label for="tab-1733358750-10" class="tab-label-2">groovy</label> + <input id="tab-1737073782-9" type="radio" name="radio-set-1737073782-9" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-9" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-10" type="radio" name="radio-set-1737073782-9" class="tab-selector-2" /> + <label for="tab-1737073782-10" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1413,10 +1413,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-1733358750-11" type="radio" name="radio-set-1733358750-11" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-11" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-12" type="radio" name="radio-set-1733358750-11" class="tab-selector-2" /> - <label for="tab-1733358750-12" class="tab-label-2">groovy</label> + <input id="tab-1737073782-11" type="radio" name="radio-set-1737073782-11" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-11" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-12" type="radio" name="radio-set-1737073782-11" class="tab-selector-2" /> + <label for="tab-1737073782-12" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1469,10 +1469,10 @@ what direction to follow. In this case, we use the <a href="https://tinkerpop.apache.org/docs/4.0.0-SNAPSHOT/reference/#vertex-steps">outE</a> step.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1733358750-13" type="radio" name="radio-set-1733358750-13" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-13" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-14" type="radio" name="radio-set-1733358750-13" class="tab-selector-2" /> - <label for="tab-1733358750-14" class="tab-label-2">groovy</label> + <input id="tab-1737073782-13" type="radio" name="radio-set-1737073782-13" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-13" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-14" type="radio" name="radio-set-1737073782-13" class="tab-selector-2" /> + <label for="tab-1737073782-14" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1504,10 +1504,10 @@ we use the <a href="https://tinkerpop.ap vertex with <code>inV()</code>.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1733358750-15" type="radio" name="radio-set-1733358750-15" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-15" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-16" type="radio" name="radio-set-1733358750-15" class="tab-selector-2" /> - <label for="tab-1733358750-16" class="tab-label-2">groovy</label> + <input id="tab-1737073782-15" type="radio" name="radio-set-1737073782-15" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-15" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-16" type="radio" name="radio-set-1737073782-15" class="tab-selector-2" /> + <label for="tab-1737073782-16" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1539,10 +1539,10 @@ vertex with <code>inV()</code>.</p> statement above with:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1733358750-17" type="radio" name="radio-set-1733358750-17" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-17" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-18" type="radio" name="radio-set-1733358750-17" class="tab-selector-2" /> - <label for="tab-1733358750-18" class="tab-label-2">groovy</label> + <input id="tab-1737073782-17" type="radio" name="radio-set-1737073782-17" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-17" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-18" type="radio" name="radio-set-1737073782-17" class="tab-selector-2" /> + <label for="tab-1737073782-18" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1571,10 +1571,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-1733358750-19" type="radio" name="radio-set-1733358750-19" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-19" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-20" type="radio" name="radio-set-1733358750-19" class="tab-selector-2" /> - <label for="tab-1733358750-20" class="tab-label-2">groovy</label> + <input id="tab-1737073782-19" type="radio" name="radio-set-1737073782-19" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-19" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-20" type="radio" name="radio-set-1737073782-19" class="tab-selector-2" /> + <label for="tab-1737073782-20" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1609,10 +1609,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-1733358750-21" type="radio" name="radio-set-1733358750-21" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-21" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-22" type="radio" name="radio-set-1733358750-21" class="tab-selector-2" /> - <label for="tab-1733358750-22" class="tab-label-2">groovy</label> + <input id="tab-1737073782-21" type="radio" name="radio-set-1737073782-21" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-21" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-22" type="radio" name="radio-set-1737073782-21" class="tab-selector-2" /> + <label for="tab-1737073782-22" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1642,10 +1642,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-1733358750-23" type="radio" name="radio-set-1733358750-23" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-23" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-24" type="radio" name="radio-set-1733358750-23" class="tab-selector-2" /> - <label for="tab-1733358750-24" class="tab-label-2">groovy</label> + <input id="tab-1737073782-23" type="radio" name="radio-set-1737073782-23" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-23" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-24" type="radio" name="radio-set-1737073782-23" class="tab-selector-2" /> + <label for="tab-1737073782-24" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1690,10 +1690,10 @@ language you are interested in in the <a <a href="https://tinkerpop.apache.org/docs/4.0.0-SNAPSHOT/reference/#mean-step">mean()</a> step as follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1733358750-25" type="radio" name="radio-set-1733358750-25" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-25" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-26" type="radio" name="radio-set-1733358750-25" class="tab-selector-2" /> - <label for="tab-1733358750-26" class="tab-label-2">groovy</label> + <input id="tab-1737073782-25" type="radio" name="radio-set-1737073782-25" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-25" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-26" type="radio" name="radio-set-1737073782-25" class="tab-selector-2" /> + <label for="tab-1737073782-26" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1719,10 +1719,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-1733358750-27" type="radio" name="radio-set-1733358750-27" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-27" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-28" type="radio" name="radio-set-1733358750-27" class="tab-selector-2" /> - <label for="tab-1733358750-28" class="tab-label-2">groovy</label> + <input id="tab-1737073782-27" type="radio" name="radio-set-1737073782-27" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-27" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-28" type="radio" name="radio-set-1737073782-27" class="tab-selector-2" /> + <label for="tab-1737073782-28" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1765,10 +1765,10 @@ on what well-formatted Gremlin should lo </table> </div> <section class="tabs tabs-2"> - <input id="tab-1733358750-29" type="radio" name="radio-set-1733358750-29" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-29" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-30" type="radio" name="radio-set-1733358750-29" class="tab-selector-2" /> - <label for="tab-1733358750-30" class="tab-label-2">groovy</label> + <input id="tab-1737073782-29" type="radio" name="radio-set-1737073782-29" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-29" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-30" type="radio" name="radio-set-1737073782-29" class="tab-selector-2" /> + <label for="tab-1737073782-30" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1802,10 +1802,10 @@ on what well-formatted Gremlin should lo handles that exclusion:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1733358750-31" type="radio" name="radio-set-1733358750-31" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-31" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-32" type="radio" name="radio-set-1733358750-31" class="tab-selector-2" /> - <label for="tab-1733358750-32" class="tab-label-2">groovy</label> + <input id="tab-1737073782-31" type="radio" name="radio-set-1737073782-31" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-31" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-32" type="radio" name="radio-set-1737073782-31" class="tab-selector-2" /> + <label for="tab-1737073782-32" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1851,10 +1851,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/4.0.0-SNAPSHOT/reference/#select-step">select</a>:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1733358750-33" type="radio" name="radio-set-1733358750-33" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-33" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-34" type="radio" name="radio-set-1733358750-33" class="tab-selector-2" /> - <label for="tab-1733358750-34" class="tab-label-2">groovy</label> + <input id="tab-1737073782-33" type="radio" name="radio-set-1737073782-33" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-33" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-34" type="radio" name="radio-set-1737073782-33" class="tab-selector-2" /> + <label for="tab-1737073782-34" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1889,10 +1889,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-1733358750-35" type="radio" name="radio-set-1733358750-35" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-35" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-36" type="radio" name="radio-set-1733358750-35" class="tab-selector-2" /> - <label for="tab-1733358750-36" class="tab-label-2">groovy</label> + <input id="tab-1737073782-35" type="radio" name="radio-set-1737073782-35" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-35" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-36" type="radio" name="radio-set-1737073782-35" class="tab-selector-2" /> + <label for="tab-1737073782-36" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1921,10 +1921,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-1733358750-37" type="radio" name="radio-set-1733358750-37" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-37" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-38" type="radio" name="radio-set-1733358750-37" class="tab-selector-2" /> - <label for="tab-1733358750-38" class="tab-label-2">groovy</label> + <input id="tab-1737073782-37" type="radio" name="radio-set-1737073782-37" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-37" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-38" type="radio" name="radio-set-1737073782-37" class="tab-selector-2" /> + <label for="tab-1737073782-38" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2123,20 +2123,20 @@ they help make Gremlin more accessible a language.</p> </div> <section class="tabs tabs-7"> - <input id="tab-1733358750-39" type="radio" name="radio-set-1733358750-39" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358750-39" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358750-40" type="radio" name="radio-set-1733358750-39" class="tab-selector-2" /> - <label for="tab-1733358750-40" class="tab-label-2">groovy</label> - <input id="tab-1733358750-41" type="radio" name="radio-set-1733358750-39" class="tab-selector-3" /> - <label for="tab-1733358750-41" class="tab-label-3">csharp</label> - <input id="tab-1733358750-42" type="radio" name="radio-set-1733358750-39" class="tab-selector-4" /> - <label for="tab-1733358750-42" class="tab-label-4">java</label> - <input id="tab-1733358750-43" type="radio" name="radio-set-1733358750-39" class="tab-selector-5" /> - <label for="tab-1733358750-43" class="tab-label-5">javascript</label> - <input id="tab-1733358750-44" type="radio" name="radio-set-1733358750-39" class="tab-selector-6" /> - <label for="tab-1733358750-44" class="tab-label-6">python</label> - <input id="tab-1733358750-45" type="radio" name="radio-set-1733358750-39" class="tab-selector-7" /> - <label for="tab-1733358750-45" class="tab-label-7">go</label> + <input id="tab-1737073782-39" type="radio" name="radio-set-1737073782-39" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073782-39" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073782-40" type="radio" name="radio-set-1737073782-39" class="tab-selector-2" /> + <label for="tab-1737073782-40" class="tab-label-2">groovy</label> + <input id="tab-1737073782-41" type="radio" name="radio-set-1737073782-39" class="tab-selector-3" /> + <label for="tab-1737073782-41" class="tab-label-3">csharp</label> + <input id="tab-1737073782-42" type="radio" name="radio-set-1737073782-39" class="tab-selector-4" /> + <label for="tab-1737073782-42" class="tab-label-4">java</label> + <input id="tab-1737073782-43" type="radio" name="radio-set-1737073782-39" class="tab-selector-5" /> + <label for="tab-1737073782-43" class="tab-label-5">javascript</label> + <input id="tab-1737073782-44" type="radio" name="radio-set-1737073782-39" class="tab-selector-6" /> + <label for="tab-1737073782-44" class="tab-label-6">python</label> + <input id="tab-1737073782-45" type="radio" name="radio-set-1737073782-39" class="tab-selector-7" /> + <label for="tab-1737073782-45" class="tab-label-7">go</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2231,7 +2231,7 @@ research within the reference documentat </div> <div id="footer"> <div id="footer-text"> -Last updated 2024-12-04 16:40:58 -0800 +Last updated 2025-01-16 18:09:28 -0800 </div> </div> </body>
Modified: tinkerpop/site/docs/4.0.0-SNAPSHOT/tutorials/gremlins-anatomy/index.html URL: http://svn.apache.org/viewvc/tinkerpop/site/docs/4.0.0-SNAPSHOT/tutorials/gremlins-anatomy/index.html?rev=1923180&r1=1923179&r2=1923180&view=diff ============================================================================== --- tinkerpop/site/docs/4.0.0-SNAPSHOT/tutorials/gremlins-anatomy/index.html (original) +++ tinkerpop/site/docs/4.0.0-SNAPSHOT/tutorials/gremlins-anatomy/index.html Fri Jan 17 02:11:00 2025 @@ -856,10 +856,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-1733358732-1" type="radio" name="radio-set-1733358732-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358732-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358732-2" type="radio" name="radio-set-1733358732-1" class="tab-selector-2" /> - <label for="tab-1733358732-2" class="tab-label-2">groovy</label> + <input id="tab-1737073756-1" type="radio" name="radio-set-1737073756-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073756-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073756-2" type="radio" name="radio-set-1737073756-1" class="tab-selector-2" /> + <label for="tab-1737073756-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -901,10 +901,10 @@ documentation, blog posts, or examples a applications.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1733358732-3" type="radio" name="radio-set-1733358732-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358732-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358732-4" type="radio" name="radio-set-1733358732-3" class="tab-selector-2" /> - <label for="tab-1733358732-4" class="tab-label-2">groovy</label> + <input id="tab-1737073756-3" type="radio" name="radio-set-1737073756-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073756-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073756-4" type="radio" name="radio-set-1737073756-3" class="tab-selector-2" /> + <label for="tab-1737073756-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -989,10 +989,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-1733358732-5" type="radio" name="radio-set-1733358732-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358732-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358732-6" type="radio" name="radio-set-1733358732-5" class="tab-selector-2" /> - <label for="tab-1733358732-6" class="tab-label-2">groovy</label> + <input id="tab-1737073756-5" type="radio" name="radio-set-1737073756-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073756-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073756-6" type="radio" name="radio-set-1737073756-5" class="tab-selector-2" /> + <label for="tab-1737073756-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1162,7 +1162,7 @@ more insight into how Gremlin works and </div> <div id="footer"> <div id="footer-text"> -Last updated 2024-12-04 16:40:58 -0800 +Last updated 2025-01-16 18:09:28 -0800 </div> </div> </body> Modified: tinkerpop/site/docs/4.0.0-SNAPSHOT/tutorials/the-gremlin-console/index.html URL: http://svn.apache.org/viewvc/tinkerpop/site/docs/4.0.0-SNAPSHOT/tutorials/the-gremlin-console/index.html?rev=1923180&r1=1923179&r2=1923180&view=diff ============================================================================== --- tinkerpop/site/docs/4.0.0-SNAPSHOT/tutorials/the-gremlin-console/index.html (original) +++ tinkerpop/site/docs/4.0.0-SNAPSHOT/tutorials/the-gremlin-console/index.html Fri Jan 17 02:11:00 2025 @@ -937,10 +937,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-1733358703-1" type="radio" name="radio-set-1733358703-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-2" type="radio" name="radio-set-1733358703-1" class="tab-selector-2" /> - <label for="tab-1733358703-2" class="tab-label-2">groovy</label> + <input id="tab-1737073766-1" type="radio" name="radio-set-1737073766-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-2" type="radio" name="radio-set-1737073766-1" class="tab-selector-2" /> + <label for="tab-1737073766-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1032,10 +1032,10 @@ labels are defined and the "weight" edge </ul> </div> <section class="tabs tabs-2"> - <input id="tab-1733358703-3" type="radio" name="radio-set-1733358703-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-4" type="radio" name="radio-set-1733358703-3" class="tab-selector-2" /> - <label for="tab-1733358703-4" class="tab-label-2">groovy</label> + <input id="tab-1737073766-3" type="radio" name="radio-set-1737073766-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-4" type="radio" name="radio-set-1737073766-3" class="tab-selector-2" /> + <label for="tab-1737073766-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1068,10 +1068,10 @@ However, if you find that a larger graph (<a href="https://tinkerpop.apache.org/docs/4.0.0-SNAPSHOT/images/grateful-dead-schema.png">schema</a>).</p> </div> <section class="tabs tabs-2"> - <input id="tab-1733358703-5" type="radio" name="radio-set-1733358703-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-6" type="radio" name="radio-set-1733358703-5" class="tab-selector-2" /> - <label for="tab-1733358703-6" class="tab-label-2">groovy</label> + <input id="tab-1737073766-5" type="radio" name="radio-set-1737073766-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-6" type="radio" name="radio-set-1737073766-5" class="tab-selector-2" /> + <label for="tab-1737073766-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1125,10 +1125,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-1733358703-7" type="radio" name="radio-set-1733358703-7" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-7" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-8" type="radio" name="radio-set-1733358703-7" class="tab-selector-2" /> - <label for="tab-1733358703-8" class="tab-label-2">groovy</label> + <input id="tab-1737073766-7" type="radio" name="radio-set-1737073766-7" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-7" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-8" type="radio" name="radio-set-1737073766-7" class="tab-selector-2" /> + <label for="tab-1737073766-8" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1187,15 +1187,19 @@ 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-1733358703-9" type="radio" name="radio-set-1733358703-9" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-9" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-10" type="radio" name="radio-set-1733358703-9" class="tab-selector-2" /> - <label for="tab-1733358703-10" class="tab-label-2">groovy</label> + <input id="tab-1737073766-9" type="radio" name="radio-set-1737073766-9" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-9" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-10" type="radio" name="radio-set-1737073766-9" class="tab-selector-2" /> + <label for="tab-1737073766-10" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> <div class="content"> -<pre class="CodeRay highlight"><code data-lang="groovy">gremlin> :help :remote</code></pre> +<pre class="CodeRay highlight"><code data-lang="groovy">gremlin> :help :plugin + +<span class="key">usage</span>: :plugin [use <plugin-name>|list|unuse <plugin-name>] + +Manage plugins <span class="keyword">for</span> the Console.</code></pre> </div> </div> </div> @@ -1204,7 +1208,7 @@ addition to the ones provided by TinkerP <div class="tabcontent-2"> <div class="listingblock"> <div class="content"> -<pre class="CodeRay highlight"><code data-lang="groovy">:help :remote</code></pre> +<pre class="CodeRay highlight"><code data-lang="groovy">:help :plugin</code></pre> </div> </div> </div> @@ -1323,10 +1327,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-1733358703-11" type="radio" name="radio-set-1733358703-11" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-11" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-12" type="radio" name="radio-set-1733358703-11" class="tab-selector-2" /> - <label for="tab-1733358703-12" class="tab-label-2">groovy</label> + <input id="tab-1737073766-11" type="radio" name="radio-set-1737073766-11" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-11" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-12" type="radio" name="radio-set-1737073766-11" class="tab-selector-2" /> + <label for="tab-1737073766-12" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1362,10 +1366,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-1733358703-13" type="radio" name="radio-set-1733358703-13" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-13" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-14" type="radio" name="radio-set-1733358703-13" class="tab-selector-2" /> - <label for="tab-1733358703-14" class="tab-label-2">groovy</label> + <input id="tab-1737073766-13" type="radio" name="radio-set-1737073766-13" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-13" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-14" type="radio" name="radio-set-1737073766-13" class="tab-selector-2" /> + <label for="tab-1737073766-14" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1400,10 +1404,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-1733358703-15" type="radio" name="radio-set-1733358703-15" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-15" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-16" type="radio" name="radio-set-1733358703-15" class="tab-selector-2" /> - <label for="tab-1733358703-16" class="tab-label-2">groovy</label> + <input id="tab-1737073766-15" type="radio" name="radio-set-1737073766-15" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-15" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-16" type="radio" name="radio-set-1737073766-15" class="tab-selector-2" /> + <label for="tab-1737073766-16" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1483,10 +1487,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-1733358703-17" type="radio" name="radio-set-1733358703-17" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-17" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-18" type="radio" name="radio-set-1733358703-17" class="tab-selector-2" /> - <label for="tab-1733358703-18" class="tab-label-2">groovy</label> + <input id="tab-1737073766-17" type="radio" name="radio-set-1737073766-17" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-17" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-18" type="radio" name="radio-set-1737073766-17" class="tab-selector-2" /> + <label for="tab-1737073766-18" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1544,10 +1548,10 @@ can remedy that by adding <code>fold()</ as follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1733358703-19" type="radio" name="radio-set-1733358703-19" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-19" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-20" type="radio" name="radio-set-1733358703-19" class="tab-selector-2" /> - <label for="tab-1733358703-20" class="tab-label-2">groovy</label> + <input id="tab-1737073766-19" type="radio" name="radio-set-1737073766-19" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-19" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-20" type="radio" name="radio-set-1737073766-19" class="tab-selector-2" /> + <label for="tab-1737073766-20" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1642,10 +1646,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-1733358703-21" type="radio" name="radio-set-1733358703-21" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-21" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-22" type="radio" name="radio-set-1733358703-21" class="tab-selector-2" /> - <label for="tab-1733358703-22" class="tab-label-2">groovy</label> + <input id="tab-1737073766-21" type="radio" name="radio-set-1737073766-21" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-21" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-22" type="radio" name="radio-set-1737073766-21" class="tab-selector-2" /> + <label for="tab-1737073766-22" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1684,10 +1688,10 @@ where "location" does not have one value has <a href="https://tinkerpop.apache.org/docs/4.0.0-SNAPSHOT/reference/#vertex-properties">meta-properties</a> as well:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1733358703-23" type="radio" name="radio-set-1733358703-23" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-23" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-24" type="radio" name="radio-set-1733358703-23" class="tab-selector-2" /> - <label for="tab-1733358703-24" class="tab-label-2">groovy</label> + <input id="tab-1737073766-23" type="radio" name="radio-set-1737073766-23" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-23" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-24" type="radio" name="radio-set-1737073766-23" class="tab-selector-2" /> + <label for="tab-1737073766-24" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1742,10 +1746,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-1733358703-25" type="radio" name="radio-set-1733358703-25" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-25" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-26" type="radio" name="radio-set-1733358703-25" class="tab-selector-2" /> - <label for="tab-1733358703-26" class="tab-label-2">groovy</label> + <input id="tab-1737073766-25" type="radio" name="radio-set-1737073766-25" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-25" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-26" type="radio" name="radio-set-1737073766-25" class="tab-selector-2" /> + <label for="tab-1737073766-26" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1797,10 +1801,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-1733358703-27" type="radio" name="radio-set-1733358703-27" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-27" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-28" type="radio" name="radio-set-1733358703-27" class="tab-selector-2" /> - <label for="tab-1733358703-28" class="tab-label-2">groovy</label> + <input id="tab-1737073766-27" type="radio" name="radio-set-1737073766-27" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-27" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-28" type="radio" name="radio-set-1737073766-27" class="tab-selector-2" /> + <label for="tab-1737073766-28" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1851,10 +1855,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-1733358703-29" type="radio" name="radio-set-1733358703-29" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-29" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-30" type="radio" name="radio-set-1733358703-29" class="tab-selector-2" /> - <label for="tab-1733358703-30" class="tab-label-2">groovy</label> + <input id="tab-1737073766-29" type="radio" name="radio-set-1737073766-29" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-29" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-30" type="radio" name="radio-set-1737073766-29" class="tab-selector-2" /> + <label for="tab-1737073766-30" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1975,10 +1979,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-1733358703-31" type="radio" name="radio-set-1733358703-31" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-31" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-32" type="radio" name="radio-set-1733358703-31" class="tab-selector-2" /> - <label for="tab-1733358703-32" class="tab-label-2">groovy</label> + <input id="tab-1737073766-31" type="radio" name="radio-set-1737073766-31" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-31" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-32" type="radio" name="radio-set-1737073766-31" class="tab-selector-2" /> + <label for="tab-1737073766-32" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1986,7 +1990,7 @@ you wish to use. To do this, you need to <pre class="CodeRay highlight"><code data-lang="groovy">gremlin> <span class="keyword">import</span> <span class="include">java.time.Year</span> ==>java.time.Year gremlin> Year.now() -==><span class="integer">2024</span></code></pre> +==><span class="integer">2025</span></code></pre> </div> </div> </div> @@ -2007,10 +2011,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-1733358703-33" type="radio" name="radio-set-1733358703-33" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-33" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-34" type="radio" name="radio-set-1733358703-33" class="tab-selector-2" /> - <label for="tab-1733358703-34" class="tab-label-2">groovy</label> + <input id="tab-1737073766-33" type="radio" name="radio-set-1737073766-33" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-33" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-34" type="radio" name="radio-set-1737073766-33" class="tab-selector-2" /> + <label for="tab-1737073766-34" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2045,6 +2049,7 @@ gremlin> g.V().hasLabel(<span class=" ==>[<span class="key">person</span>:marko,<span class="key">year</span>:<span class="integer">2022</span>] ==>[<span class="key">person</span>:marko,<span class="key">year</span>:<span class="integer">2023</span>] ==>[<span class="key">person</span>:marko,<span class="key">year</span>:<span class="integer">2024</span>] +==>[<span class="key">person</span>:marko,<span class="key">year</span>:<span class="integer">2025</span>] ==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2004</span>] ==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2005</span>] ==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2006</span>] @@ -2066,6 +2071,7 @@ gremlin> g.V().hasLabel(<span class=" ==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2022</span>] ==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2023</span>] ==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2024</span>] +==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2025</span>] ==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2004</span>] ==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2005</span>] ==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2006</span>] @@ -2087,6 +2093,7 @@ gremlin> g.V().hasLabel(<span class=" ==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2022</span>] ==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2023</span>] ==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2024</span>] +==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2025</span>] ==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2004</span>] ==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2005</span>] ==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2006</span>] @@ -2107,7 +2114,8 @@ gremlin> g.V().hasLabel(<span class=" ==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2021</span>] ==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2022</span>] ==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2023</span>] -==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2024</span>]</code></pre> +==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2024</span>] +==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2025</span>]</code></pre> </div> </div> </div> @@ -2132,10 +2140,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-1733358703-35" type="radio" name="radio-set-1733358703-35" class="tab-selector-1" checked="checked" /> - <label for="tab-1733358703-35" class="tab-label-1">console (groovy)</label> - <input id="tab-1733358703-36" type="radio" name="radio-set-1733358703-35" class="tab-selector-2" /> - <label for="tab-1733358703-36" class="tab-label-2">groovy</label> + <input id="tab-1737073766-35" type="radio" name="radio-set-1737073766-35" class="tab-selector-1" checked="checked" /> + <label for="tab-1737073766-35" class="tab-label-1">console (groovy)</label> + <input id="tab-1737073766-36" type="radio" name="radio-set-1737073766-35" class="tab-selector-2" /> + <label for="tab-1737073766-36" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2174,6 +2182,7 @@ gremlin> g.V().hasLabel(<span class=" ==>[<span class="key">person</span>:marko,<span class="key">year</span>:<span class="integer">2022</span>,<span class="key">location</span>:santa fe] ==>[<span class="key">person</span>:marko,<span class="key">year</span>:<span class="integer">2023</span>,<span class="key">location</span>:santa fe] ==>[<span class="key">person</span>:marko,<span class="key">year</span>:<span class="integer">2024</span>,<span class="key">location</span>:santa fe] +==>[<span class="key">person</span>:marko,<span class="key">year</span>:<span class="integer">2025</span>,<span class="key">location</span>:santa fe] ==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2004</span>,<span class="key">location</span>:purcellville] ==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2005</span>,<span class="key">location</span>:purcellville] ==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2006</span>,<span class="key">location</span>:purcellville] @@ -2195,6 +2204,7 @@ gremlin> g.V().hasLabel(<span class=" ==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2022</span>,<span class="key">location</span>:purcellville] ==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2023</span>,<span class="key">location</span>:purcellville] ==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2024</span>,<span class="key">location</span>:purcellville] +==>[<span class="key">person</span>:stephen,<span class="key">year</span>:<span class="integer">2025</span>,<span class="key">location</span>:purcellville] ==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2004</span>,<span class="key">location</span>:bremen] ==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2005</span>,<span class="key">location</span>:baltimore] ==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2006</span>,<span class="key">location</span>:baltimore] @@ -2216,6 +2226,7 @@ gremlin> g.V().hasLabel(<span class=" ==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2022</span>,<span class="key">location</span>:seattle] ==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2023</span>,<span class="key">location</span>:seattle] ==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2024</span>,<span class="key">location</span>:seattle] +==>[<span class="key">person</span>:matthias,<span class="key">year</span>:<span class="integer">2025</span>,<span class="key">location</span>:seattle] ==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2004</span>,<span class="key">location</span>:kaiserslautern] ==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2005</span>,<span class="key">location</span>:kaiserslautern] ==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2006</span>,<span class="key">location</span>:aachen] @@ -2236,7 +2247,8 @@ gremlin> g.V().hasLabel(<span class=" ==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2021</span>,<span class="key">location</span>:aachen] ==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2022</span>,<span class="key">location</span>:aachen] ==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2023</span>,<span class="key">location</span>:aachen] -==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2024</span>,<span class="key">location</span>:aachen]</code></pre> +==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2024</span>,<span class="key">location</span>:aachen] +==>[<span class="key">person</span>:daniel,<span class="key">year</span>:<span class="integer">2025</span>,<span class="key">location</span>:aachen]</code></pre> </div> </div> </div> @@ -2434,7 +2446,7 @@ knowledge on what the console can do for </div> <div id="footer"> <div id="footer-text"> -Last updated 2024-12-04 16:40:58 -0800 +Last updated 2025-01-16 18:09:28 -0800 </div> </div> </body>
