简体   繁体   English

Azure Cosmos 图数据库支持 Gremlin 和 Tinkerpop 版本

[英]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.

相关问题 使用 Java SDK 的 Azure Cosmos DB Gremlin/Tinkerpop 令牌身份验证 - Azure Cosmos DB Gremlin/Tinkerpop Token Auth with Java SDK 如何使用 Gremlin API 在 Azure Cosmos DB 中创建元图 - How to create a meta graph in Azure Cosmos DB with Gremlin API Azure Cosmos db Gremlin elementMap() - Azure Cosmos db Gremlin elementMap() 为什么我的 gremlin.net gremlin 客户端无法使用 azure cosmos graph db - Why is my gremlin.net gremlin client not working with azure cosmos graph db Azure 用于 gremlin 查询的 Cosmos DB 索引 - Azure Cosmos DB indexing for gremlin queries 从图形中查找路径,然后使用Gremlin计算Azure Cosmos DB中路径发生的次数 - Find paths from a graph and then count how many times a path occurs in Azure Cosmos DB using Gremlin Azure Cosmos DB Gremlin 是否支持存储过程或自定义函数 - Does Azure Cosmos DB Gremlin supports stored procedures or custom functions 天蓝色Cosmos DB的图形遍历性能 - graph traversal performance of azure Cosmos DB Azure Cosmos + Gremlin NodeJS,如何以脚本形式提交流畅的查询(不是字节码——我知道它还不支持) - Azure Cosmos + Gremlin NodeJS, how to submit fluent query as script (not bytecode — i know its not supported yet) 有什么方法可以将数据从 azure 数据块写入 azure cosmos db GREMLIN API - Is there any way to write data from azure databricks to azure cosmos db GREMLIN API
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM