https://github.com/tinkerpop/blueprints/wiki/OrientDB-Implementation - "Blueprints is the default Java API for OrientDB, so you don’t need to include additional modules. For more information look at OrientDB Blueprints API."
To randomly filter out a traverser, use the coin()
-step (filter). The provided double argument biases the "coin toss."
e.g. gremlin> g.V().coin(0.5)
When the objects of the traversal stream need to be sorted, order()
-step (map) can be leveraged.
I noticed 'shuffle' -- "Randomizing the order of the traversers at a particular point in the traversal is possible with Order.shuffle
."
e.g. gremlin> g.V().hasLabel('person').order().by(shuffle)