I need to process all the Vertexes in a Class of tens of millions.
Sometimes there are problems so I need to restart, skipping ahead.
*>> How can I skip ahead with Iterator<Vertex>?*
Some example code:
Iterator<Vertex> iter = graph.getVerticesOfClass("Log").iterator();
// Skip ahead
for (int nSkip = 0; nSkip < nBigCounter; nSkip++)
iter.next();
*There MUST be a better way* but I couldn't find an api or post which
helped me.
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.