Gremlin Recipes: 4 – Recursive Traversals
This blog post delves into recursive traversal techniques with Gremlin, focusing on a part of the schema where a user knows other users who know other users, and so on. It demonstrates how to find the user in the dataset who knows the most other users, list all friends up to 2nd degree connections, and use emit() modulator to output traversed vertices. The post also explains how to control recursive combinatory explosion using timeLimit(time_in_millisecs) and loops().
Company
DataStax
Date published
Sept. 23, 2017
Author(s)
Duy Hai Doan
Word count
1485
Language
English
Hacker News points
None found.