Difference between revisions of "Gremlin Basics"

From BITPlan Wiki
Jump to navigation Jump to search
Line 67: Line 67:
 
<uml>
 
<uml>
 
hide Circle
 
hide Circle
Note top of Step: The Gremlin graph traversal language defines approximately 30 steps which can be understood as the instruction set of the Gremlin traversal machine. These steps are useful in practice, with typically only 10 or so of them being applied in the majority of cases. Each of the provided steps can be understood as being a specification of one of the 5 general types enumerated below
+
Note top of Step: The Gremlin graph traversal language defines approximately 30 steps which can be understood as the instruction set of the Gremlin traversal machine\n These steps are useful in practice, with typically only 10 or so of them being applied in the majority of cases. \nEach of the provided steps can be understood as being a specification of one of the 5 general types shown below
 
class Step [[http://tinkerpop.apache.org/javadocs/current/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/__.html]] {
 
class Step [[http://tinkerpop.apache.org/javadocs/current/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/__.html]] {
 
}
 
}

Revision as of 08:10, 2 November 2018

Gremlin Paper by Marko Rodriguez

load PDF

DSL

Concepts

Three interacting components

  1. a Graph G
  2. a traversal Ψ
  3. and a set of Traversers T

Diagram

Click any Concept to get to the corresponding JavaDoc page

Steps