Company
Date Published
Sept. 24, 2017
Author
Duy Hai Doan
Word count
3059
Language
English
Hacker News points
None

Summary

In this tutorial, we will learn how to use Gremlin's filtering and selection capabilities in DataStax Enterprise Graph (DSE Graph). We will cover the following steps: 1. Projection by() 2. Deduplication with dedup(...).by(...) 3. Selection using has(property, predicate) and filter(predicate) 4. Resolution of previously labeled steps with where(predicate) 5. Filtering on inner traversals 6. Double-labeling to avoid overriding previous projections By the end of this tutorial, you will be able to effectively filter and select vertices/edges in DSE Graph using Gremlin.