Creating queries using traversals
DSE Graph can create complex queries that traverse the relationships of the graph structure. If the complex queries require real-time results, DSE Graph is the best product for discovering answers. Start with the Quick Start traversals that increase in complexity in a stepwise fashion. The examples shown here will continue with the Recipe Toy Graph example.
Additional complex Gremlin recipes can also be found at Apache TinkerPop Recipes.
-
Anatomy of a graph traversal + The anatomy of a graph traversal explores the results of each traversal step.
-
Using a custom vertex id + How to use a custom vertex id in queries.
-
Simple Traversals + Simple traversals can be complex, but not employ specialized techniques such as recursion or branching.
-
Geospatial traversals + Creating geospatial traversal queries.
-
Cartesian spatial traversals + Creating Cartesian spatial traversal queries.
-
Branching Traversals + Branching traversals allow decision points to be inserted into the traversal processing.
-
Recursive Traversals + Recursive traversals allow iterative processing over traversal paths.
-
Path Traversals + Path traversals map traversal steps to a location to use in the event that a previous location must be revisited.