Difference between revisions of "Gremlin Basics"

From BITPlan Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
# a traversal Ψ
 
# a traversal Ψ
 
# and a set of Traversers T
 
# and a set of Traversers T
 +
== Diagram ==
 +
Click any Concept to get to the corresponding JavaDoc page
 
<uml>
 
<uml>
 
left to right direction
 
left to right direction
Line 65: 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\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]] {
 
}
 
}
Line 76: Line 79:
 
</uml>
 
</uml>
 
[[Category:frontend]]
 
[[Category:frontend]]
 +
[[Category:Gremlin]]
 +
[[Category:Tinkerpop]]

Latest revision as of 14:56, 24 December 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