Semantic search

Jump to navigation Jump to search
Stepnamekindreferencejavadoctexttestlevel
Gremlinlimitfilterlimit-step
Gremlinmapgeneralgeneral-stepstransforms the current step element to a new element (which may be empty). see also https://stackoverflow.com/questions/51015636/in-gremlin-how-does-map-really-work2
Gremlinmatchmapmatch-stepsee https://stackoverflow.com/questions/55609832/is-threre-a-document-about-how-gremlin-match-works2
Gremlinmaxreducing barriermax-stepoperates on a stream of comparable objects and determines which is the last object according to its natural order in the stream.3
Gremlinmeanreducing barriermean-stepoperates on a stream of numbers and determines the average of those numbers.3
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
Gremlinnextterminalterminal-stepswill return the next result.next(n) will return the next n results in a list2
Gremlinoptionmodulatoroption-stepAn option to a branch() or choose()2
Gremlinorfilteror-stepor-org.apache.tinkerpop.gremlin.process.traversal.Traversal...-ensures that at least one of the provided traversals yield a result.2
Gremlinordermaporder-steporder--,order-org.apache.tinkerpop.gremlin.process.traversal.Scope-orders the traversal elements2
GremlinoutflatMapmaps the current elements to the vertices at the end of the outgoing edges.2
GremlinoutEflatMapmaps the current elements to the the outgoing edges.2
GremlinoutVflatMapThe outV step maps the current edges to the outgoing Vertices.2
Gremlinpathmappath-step2
Gremlinpromiseterminalterminal-stepscan only be used with remote traversals to Gremlin Server or RGPs. It starts a promise to execute a function on the current Traversal that will be completed in the future.2
GremlinpropertysideEffectaddproperty-stepproperty-java.lang.Object-java.lang.Object-java.lang.Object...-is used to add properties to the elements of the graph2
Gremlinrangefilterrange-step
Gremlinrepeatbranchrepeat-steprepeat-org.apache.tinkerpop.gremlin.process.traversal.Traversal-,repeat-java.lang.String-org.apache.tinkerpop.gremlin.process.traversal.Traversal-is used for looping over a traversal given some break predicate2
Gremlinselectmapselect-step2
GremlinsideEffectgeneralgeneral-stepsperforms some operation on the traverser and passes it to the next step.2
Gremlinsumreducing barriersum-stepoperates on a stream of numbers and sums the numbers together to yield a result3
Gremlintailfiltertail-step
GremlintoBulkSetterminalterminal-stepswill return all results in a weighted set and thus, duplicates preserved via weighting2
GremlintoListterminalterminal-stepswill return all results in a list2
GremlintoSetterminalterminal-stepswill return all results in a set and thus, duplicates removed2
GremlintryNextterminalterminal-stepswill return an Optional and thus, is a composite of hasNext()/next()2
Gremlinunionbranchrepeat-step2
Gremlinwherefilterwhere-stepfilters the current object based on either the object itself (Scope.local) or the path history of the object (Scope.global) (filter). This step is typically used in conjunction with either #match Step or select()-step, but can be used in isolation.2