Gremlin DSLs In .NET With DSE Graph
This article discusses a pattern for forming Gremlin results using Domain Specific Languages (DSLs) and demonstrates its implementation with Gremlin .NET. The mechanics of the pattern are demonstrated using the C# GLV for .NET, which is part of Apache TinkerPop™. The purpose of this pattern is to shape Gremlin traversal results so that they fit specific needs of an application or analytical view. This can involve limiting property keys returned from a vertex or edge, performing collection manipulation, data aggregation, or other similar operations. The article also explores the implementation of DSLs in .NET via Extension Methods and provides examples of how to create reusable and concise Gremlin code using these methods.
Company
DataStax
Date published
March 6, 2018
Author(s)
Stephen Mallette
Word count
2423
Language
English
Hacker News points
None found.