 for (int i = 0; i &lt; 1000; i++) {</b>
<b class="fc">&nbsp;            keyValues.put(&quot;age&quot;, i);</b>
<b class="fc">&nbsp;            this.sqlgGraph.streamVertex(&quot;Female&quot;, keyValues);</b>
&nbsp;        }
<b class="fc">&nbsp;        this.sqlgGraph.tx().flush();</b>
<b class="fc">&nbsp;        int count = 0;</b>
<b class="fc">&nbsp;        List&lt;Vertex&gt; men = this.sqlgGraph.traversal().V().hasLabel(&quot;Man&quot;).toList();</b>
<b class="fc">&nbsp;        List&lt;Vertex&gt; females =