简体   繁体   English

如何使用 Gremlin API 在 Azure Cosmos DB 中创建元图

[英]How to create a meta graph in Azure Cosmos DB with Gremlin API

I am trying to figure out how to create a meta model for a graph database on Azure Cosmos DB using the Gremlin API, such as the meta graph in neo4j , but I haven't been able to find a way so far.我正在尝试弄清楚如何使用 Gremlin API 在 Azure Cosmos DB 上为图数据库创建元模型,例如neo4j 中的元图,但到目前为止我还没有找到方法。

I want to be able to see the entities of my database as nodes, and the relationships among them as edges, without having to load any data yet (so that I can map these nodes and edges programmatically to the data sources, and the sources are only called -and the data loaded- when there is a matching query).我希望能够将我的数据库的实体视为节点,并将它们之间的关系视为边缘,而无需加载任何数据(以便我可以以编程方式将这些节点和边缘映射到数据源,并且源是仅在存在匹配查询时调用 - 并加载数据)。

The only information that's relatively close to this that I've managed to find, is about visualizing the whole graph but not its meta structure (although even this seems to not be possible yet, or only possible through external visualization platforms ).我设法找到的唯一与此相对接近的信息是关于可视化整个图形而不是它的元结构(尽管这似乎还不可能,或者只能通过外部可视化平台实现)。

Is it actually possible to do so?实际上有可能这样做吗? Or Cosmos DB being a schema-free database means that it indeed isn't?或者 Cosmos DB 是无模式数据库意味着它确实不是?

There isn't a way to specify a meta-graph in Azure Cosmos DB's Gremlin API - usually Azure Data Factory, or other application-level solutions are recommended.无法在 Azure Cosmos DB 的 Gremlin API 中指定元图 - 通常建议使用 Azure 数据工厂或其他应用程序级解决方案。

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

相关问题 Azure Cosmos 图数据库支持 Gremlin 和 Tinkerpop 版本 - Azure Cosmos graph db supported Gremlin and Tinkerpop version 从图形中查找路径,然后使用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 elementMap() - Azure Cosmos db Gremlin elementMap() Azure 用于 gremlin 查询的 Cosmos DB 索引 - Azure Cosmos DB indexing for gremlin queries 问:Azure Cosmos DB Graph:当索引策略定义为手动时,如何在Graph API中运行查询? - Q: Azure Cosmos DB Graph: How to run queries in Graph API when Indexing Policy is defined as Manual? 有什么方法可以将数据从 azure 数据块写入 azure cosmos db GREMLIN API - Is there any way to write data from azure databricks to azure cosmos db GREMLIN API 通过Graph API设置的Azure Cosmos DB上的mongodb连接字符串是什么? - What is the mongodb connection string on a Azure Cosmos DB provisioned with a Graph API? Azure Cosmos DB SQL API - Azure Cosmos DB SQL API Azure Cosmos DB Gremlin 是否支持存储过程或自定义函数 - Does Azure Cosmos DB Gremlin supports stored procedures or custom functions 使用 Java SDK 的 Azure Cosmos DB Gremlin/Tinkerpop 令牌身份验证 - Azure Cosmos DB Gremlin/Tinkerpop Token Auth with Java SDK
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM