Semantic search
Jump to navigation
Jump to search
Step | name | kind | reference | javadoc | text | test | level |
---|---|---|---|---|---|---|---|
Gremlin | filter | general | general-steps | Continues processing based on the given filter condition. | 2 | ||
Gremlin | max | reducing barrier | max-step | operates on a stream of comparable objects and determines which is the last object according to its natural order in the stream. | 3 | ||
Gremlin | coalesce | flatMap | coalesce-step | The coalesce()-step evaluates the provided traversals in order and returns the first traversal that emits at least one element. | 2 | ||
Gremlin | toSet | terminal | terminal-steps | will return all results in a set and thus, duplicates removed | 2 | ||
Gremlin | option | modulator | option-step | An option to a branch() or choose() | 2 | ||
Gremlin | and | filter | and-step | and-org.apache.tinkerpop.gremlin.process.traversal.Traversal...- | ensures that all provided traversals yield a result | 2 | |
Gremlin | outE | flatMap | maps the current elements to the the outgoing edges. | 2 | |||
Gremlin | bothE | flatMap | maps the current elements to both the in and outgoing edges. | 2 | |||
Gremlin | iterate | terminal | terminal-steps | Iterates the traversal presumably for the generation of side-effects. See https://stackoverflow.com/questions/47403296/iterate-step-is-used-in-the-end-of-the-command-when-creating-nodes-and-edges-t | 2 | ||
Gremlin | fold | reducing barrier | fold-step | There are situations when the traversal stream needs a "barrier" to aggregate all the objects and emit a computation that is a function of the aggregate. The fold()-step (map) is one particular instance of this. Please see unfold()-step for the inverse functionality. | 3 | ||
Gremlin | explain | terminal | terminal-steps | will 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 | ||
Gremlin | order | map | order-step | order--,order-org.apache.tinkerpop.gremlin.process.traversal.Scope- | orders the traversal elements | 2 | |
Gremlin | select | map | select-step | 2 | |||
Gremlin | limit | filter | limit-step | ||||
Gremlin | fill | terminal | terminal-steps | fill(collection) will put all results in the provided collection and return the collection when complete. | 2 | ||
Gremlin | mean | reducing barrier | mean-step | operates on a stream of numbers and determines the average of those numbers. | 3 | ||
Gremlin | sideEffect | general | general-steps | performs some operation on the traverser and passes it to the next step. | 2 | ||
Gremlin | toBulkSet | terminal | terminal-steps | will return all results in a weighted set and thus, duplicates preserved via weighting | 2 | ||
Gremlin | coin | filter | coin-step | coin-double- | randomly filters out traversers with the given probability | 2 | |
Gremlin | min | reducing barrier | min-step | operates on a stream of comparable objects and determines which is the first object according to its natural order in the stream. | 3 | ||
Gremlin | range | filter | range-step | ||||
Gremlin | next | terminal | terminal-steps | will return the next result.next(n) will return the next n results in a list | 2 | ||
Gremlin | has | filter | has-step | has-java.lang.String- | filters vertices, edges, and vertex properties based on their properties. This step has quite a few variations. | 2 | |
Gremlin | flatMap | general | general-steps | transforms the current step in a one to many fashion. | 2 | ||
Gremlin | id | map | id-step | maps the traversal to the ids of the current elements. | 2 | ||
Gremlin | aggregate | sideEffect | aggregate-step | aggregate-java.lang.String- | is used to aggregate all the objects at a particular point of traversal into a Collection | 2 | |
Gremlin | match | map | match-step | see https://stackoverflow.com/questions/55609832/is-threre-a-document-about-how-gremlin-match-works | 2 | ||
Gremlin | hasNext | terminal | terminal-steps | determines whether there are available results | 2 |