Gremlin step coverage in DFE - Amazon Neptune
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Gremlin step coverage in DFE

Gremlin DFE is a labmode feature and can be used by either enabling the cluster parameter or using the Neptune#useDFE query hint. For more information please refer to Using Gremlin with the Neptune DFE query engine.

The following steps are available to use in Gremlin DFE.

Path and traversal steps:

asDate(), barrier(), call(), cap(), dateAdd(), dateDiff(), disjunct(), drop(), fail(), filter(), flatMap(), id(), identity(), index(), intersect(), inject(), label(), length(), loops(), map(), order(), path(), project(), range(), repeat(), reverse(), sack(), sample(), select(), sideEffect(), split(), unfold(), union()

Aggregate and collection steps:

aggregate(global), combine(), count(), dedup(global), fold(), group(), groupCount(),

Mathematical steps:

max(), mean(), min(), sum()

Element steps:

otherV(), elementMap(), element(), v(), out(), in(), both(), outE(), inE(), bothE(), outV(), inV(), bothV(), otherV()

Property steps:

properties(), key(), valueMap(), value()

Filter steps:

and(), coalesce(), coin(), has(), is(), local(), none(), not(), or(), where()

String manipulation steps:

concat(), lTrim(), rTrim(), substring(), toLower(), toUpper(), trim()

Predicates:

Limitations

Repeat with Limit, Labels inside repeat traversal and dedup are not supported in DFE yet.

// With Limit inside the repeat traversal g.V().has('code','AGR').repeat(out().limit(5)).until(has('code','FRA')) // With Labels inside the repeat traversal g.V().has('code','AGR').repeat(out().as('a')).until(has('code','FRA')) // With Dedup inside the repeat traversal g.V().has('code','AGR').repeat(out().dedup()).until(has('code','FRA'))

Path with nested repeats, or branching steps are not supported yet.

// Path with branching steps g.V().has('code','AGR').union(identity, outE().inV()).path().by('code') // With nested repeat g.V().has('code','AGR').repeat(out().union(identity(), out())).path().by('code')