简体   繁体   English

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

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

I am wondering if AWS Neptune and Azure Cosmos DB support adding custom Gremlin DSLs?我想知道 AWS Neptune 和 Azure Cosmos DB 是否支持添加自定义 Gremlin DSL?

Also, do they support inline lambdas?另外,它们是否支持内联 lambda?

Thank you.谢谢你。

Custom DSLs are really just wrappers you build around existing Gremlin steps.自定义 DSL 实际上只是您围绕现有 Gremlin 步骤构建的包装器。 As such, these are evaluated client side, and therefore should work just fine if you are using Amazon Neptune as your graph database.因此,这些是经过评估的客户端,因此如果您使用 Amazon Neptune 作为图形数据库,应该可以正常工作。 You can just follow the examples for whichever Gremlin client driver you are using such as these instructions for the Gremlin Java client .您可以按照您正在使用的任何 Gremlin 客户端驱动程序的示例进行操作,例如Gremlin Java 客户端的这些说明

Amazon Neptune does not support in-line code (closures/lambdas). Amazon Neptune 不支持内联代码(闭包/lambda)。 Looking at their documentation I do not believe CosmosDB supports lambdas/closures either.查看他们的文档,我认为 CosmosDB 也不支持 lambdas/闭包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM