Gremlin useDFE query hint - 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 useDFE query hint

Use this query hint to enable use of the DFE for executing the query. By default Neptune does not use the DFE without this query hint being set to true, because the neptune_dfe_query_engine instance parameter defaults to viaQueryHint. If you set that instance parameter to enabled, the DFE engine is used for all queries except those having the useDFE query hint set to false.

Example of enabling the DFE for a query:

g.withSideEffect('Neptune#useDFE', true).V().out()