支持在 AWS Neptune 和 Azure Cosmos DB 中添加自定义 Gremlin DSL?

Support for adding custom Gremlin DSL in AWS Neptune and Azure Cosmos DB?

我想知道 AWS Neptune 和 Azure Cosmos DB 是否支持添加自定义 Gremlin DSL?

此外,它们是否支持内联 lambda 表达式?

谢谢。

自定义 DSL 实际上只是围绕现有 Gremlin 步骤构建的包装器。因此,这些是经过评估的客户端,因此如果您使用 Amazon Neptune 作为图形数据库,应该可以正常工作。您可以按照您正在使用的任何 Gremlin 客户端驱动程序的示例进行操作,例如 these instructions for the Gremlin Java client.

Amazon Neptune 不支持 in-line 代码 (closures/lambdas)。查看 their documentation 我不相信 CosmosDB 也支持 lambdas/closures。