Semantic search

Jump to navigation Jump to search
Stepnamekindreferencejavadoctexttestlevel
Gremlinexplainterminalterminal-stepswill return a TraversalExplanation. A traversal explanation details how the traversal (prior to explain()) will be compiled given the registered traversal strategies. A TraversalExplanation has a toString() representation with 3-columns. The first column is the traversal strategy being applied. The second column is the traversal strategy category: [D]ecoration, [O]ptimization, [P]rovider optimization, [F]inalization, and [V]erification. Finally, the third column is the state of the traversal post strategy application. The final traversal is the resultant execution plan.2
Gremlinordermaporder-steporder--,order-org.apache.tinkerpop.gremlin.process.traversal.Scope-orders the traversal elements2
Gremlinselectmapselect-step2
Gremlinlimitfilterlimit-step
Gremlinfillterminalterminal-stepsfill(collection) will put all results in the provided collection and return the collection when complete.2
Gremlinmeanreducing barriermean-stepoperates on a stream of numbers and determines the average of those numbers.3
GremlinsideEffectgeneralgeneral-stepsperforms some operation on the traverser and passes it to the next step.2
GremlintoBulkSetterminalterminal-stepswill return all results in a weighted set and thus, duplicates preserved via weighting2
Gremlincoinfiltercoin-stepcoin-double-randomly filters out traversers with the given probability2
Gremlinminreducing barriermin-stepoperates on a stream of comparable objects and determines which is the first object according to its natural order in the stream.3
Gremlinrangefilterrange-step
Gremlinnextterminalterminal-stepswill return the next result.next(n) will return the next n results in a list2
Gremlinhasfilterhas-stephas-java.lang.String-filters vertices, edges, and vertex properties based on their properties. This step has quite a few variations.2
GremlinflatMapgeneralgeneral-stepstransforms the current step in a one to many fashion.2
Gremlinidmapid-stepmaps the traversal to the ids of the current elements.2
GremlinaggregatesideEffectaggregate-stepaggregate-java.lang.String-is used to aggregate all the objects at a particular point of traversal into a Collection2
Gremlinmatchmapmatch-stepsee https://stackoverflow.com/questions/55609832/is-threre-a-document-about-how-gremlin-match-works2
GremlinhasNextterminalterminal-stepsdetermines whether there are available results2