-1

I am wondering if AWS Neptune and Azure Cosmos DB support adding custom Gremlin DSLs?

Also, do they support inline lambdas?

Thank you.

geeko
  • 2,649
  • 4
  • 32
  • 59
  • 1
    I'm going to add an answer below, but to avoid the question being closed by a moderator, I recommend editing the question to show what you have already tried. – Kelvin Lawrence Feb 28 '22 at 15:07

1 Answers1

0

Custom DSLs are really just wrappers you build around existing Gremlin steps. As such, these are evaluated client side, and therefore should work just fine if you are using Amazon Neptune as your graph database. You can just follow the examples for whichever Gremlin client driver you are using such as these instructions for the Gremlin Java client.

Amazon Neptune does not support in-line code (closures/lambdas). Looking at their documentation I do not believe CosmosDB supports lambdas/closures either.

Kelvin Lawrence
  • 14,674
  • 2
  • 16
  • 38