简体   繁体   English

如何将gremlin格式的CSV文件加载到AWS Neptune

[英]How to load gremlin format CSV file into AWS Neptune

I have a Gremlin format CSV file. 我有一个Gremlin格式的CSV文件。 How to load it into a graph database (here it is AWS Neptune) in Java code? 如何使用Java代码将其加载到图形数据库(此处为AWS Neptune)中? Thanks. 谢谢。

I noticed that the Neptune documentation has some sample Java code similar to the code I pointed you to in the comments above that uses withRemote to connect to a Neptune instance. 我注意到,Neptune文档中有一些示例Java代码,类似于我在上面的注释中使用withRemote连接到Neptune实例的代码。 Once you have the connection established you can issue Gremlin traversals from your Java code and can add vertices and edges as needed. 建立连接后,您可以从Java代码发出Gremlin遍历,并可以根据需要添加顶点和边。

Hope this helps. 希望这可以帮助。

https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin-java.html https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin-java.html

Kelvin

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

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