I am using Titan in my Python application (connecting via RexPro & rexpro-python). I would like to perform a few operations that involve iterating over all vertices in the graph, and I'm wondering what would be the best way to do this (if there's even a sensible way at all).
The first idea that comes to mind is to request batches of g.V
via the i-j filter, e.g.:
g.V[1..100]
g.V[101..200]
...
g.V[100001..100100]
...
However, the filter will load & iterate over vertices 0
to i
, which will be prohibitively expensive for large graphs.
What's the best way to iterate over all vertices via RexPro?