/plushcap/analysis/datastax/datastax-gremlin-recipies-6-projection-selection

Gremlin Recipes: 6 – Projection and Selection

What's this blog post about?

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.

Company
DataStax

Date published
Sept. 24, 2017

Author(s)
Duy Hai Doan

Word count
3059

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.