简体   繁体   English

Json 格式 azure 宇宙图db批量导入

[英]Json Format for azure cosmos graph db bulk import

we are planning to migrate our db to Azure cosmos graph db.我们计划将我们的数据库迁移到 Azure 宇宙图数据库。 we are using this bulk import tool.我们正在使用这个批量导入工具。

nowhere it mentioned Json input format.它没有提到 Json 输入格式。

Whats the Json format for bulk import to Azure cosmos graph db批量导入到 Azure 宇宙图数据库的 Json 格式是什么

https://github.com/Azure-Samples/azure-cosmosdb-graph-bulkexecutor-dotnet-getting-started https://github.com/Azure-Samples/azure-cosmosdb-graph-bulkexecutor-dotnet-getting-started

azure bulk import image azure 批量导入镜像

Appreciate any help.感谢任何帮助。

You actually don't need to build the gremlin queries to insert your edges.您实际上不需要构建 gremlin 查询来插入边缘。 In CosmosDB, everything is regarded as a JSON document (even the vertices and edges in a graph collection).在 CosmosDB 中,所有内容都被视为 JSON 文档(甚至是图形集合中的顶点和边)。

The format of the required JSON isn't officially published and can change at any time but can be discovered though inspection of the SDKs.所需的JSON的格式还没有正式公布,可以随时更改,但可以通过SDK查看。

I wrote about it here a while ago and it is still valid today.不久前我在这里写过它,它今天仍然有效。

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

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