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