[英]Azure Cosmos graph db supported Gremlin and Tinkerpop version
I'm having trouble finding what Azure Cosmos DB supports in using npm gremlin and Tinkerpop.我在使用 npm gremlin 和 Tinkerpop 时找不到 Azure Cosmos DB 支持的内容。 https://www.npmjs.com/package/gremlin The gremlin package makes no reference to client.submit scripts, however, the Azure Node.js sample code uses submit.
https://www.npmjs.com/package/gremlin gremlin 包没有引用 client.submit 脚本,但是,Azure Node.js 示例代码使用提交。
https://github.com/Azure-Samples/azure-cosmos-db-graph-nodejs-getting-started/blob/master/app.js https://github.com/Azure-Samples/azure-cosmos-db-graph-nodejs-getting-started/blob/master/app.js
Also, when I use tinkerpop features like filter, elementMap, etc. in a client.submit, it throws an error that it can't find it.此外,当我在 client.submit 中使用过滤器、elementMap 等 tinkerpop 功能时,它会抛出一个找不到它的错误。
gV().elementMap('age')
This suggests to me that only certain Tinkerpop features work inside client.submit. gV().elementMap('age')
这向我表明只有某些 Tinkerpop 功能在 client.submit 中起作用。 I'm using the latest http://tinkerpop.apache.org/docs/3.4.4/reference/我正在使用最新的http://tinkerpop.apache.org/docs/3.4.4/reference/
I don't get any response from Azure on this topic.我没有收到 Azure 对此主题的任何回应。 Can anyone shed some light on how to use the latest gremlin and tinkerpop with Azure Cosmos DB?
谁能解释一下如何将最新的 gremlin 和 tinkerpop 与 Azure Cosmos DB 结合使用? If not latest, which specific versions of each are supported?
如果不是最新的,则支持每个版本的哪些特定版本?
Thanks, Donnie谢谢,唐尼
I'm not an expert on CosmosDB but I don't think they support any specific version of TinkerPop but rather a subset of the available functions (though they have been steadily moving toward more full fledged support since release).我不是 CosmosDB 的专家,但我认为它们不支持任何特定版本的 TinkerPop,而是可用功能的一个子集(尽管自发布以来,它们一直在稳步向更全面的支持迈进)。 Your best bet would be to look at the Gremlin steps they have documented as the ones they support and only use those.
最好的办法是查看他们记录的 Gremlin 步骤,作为他们支持的步骤,并且只使用这些步骤。 That list of steps can be found here .
可以在此处找到该步骤列表。
Note that there have been times where CosmosDB users here in Stackoverflow have come to find that there are supported steps not listed on that page, so giving a step a try if you really need it, even if not listed there, might actually work for you.请注意,有时 Stackoverflow 中的 CosmosDB 用户会发现该页面上未列出支持的步骤,因此,如果您确实需要,请尝试一个步骤,即使未在此处列出,也可能对您有用.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.