Neo4j在一个查询中添加多个CSV

时间:2019-05-22 23:09:03

标签: neo4j cypher

我有一个这样的csv文件文件夹-“ 1232422.csv”

标题:

"ID","Name","ScreenName","location","Friends","Followers","Verified","Description","URL","Created_At"

有1500个文件,文件名与csv文件的行具有“跟随”关系:(filename)-[follows]-(csv_row)

将所有数据上传到我的neo4j图形的最佳方法是什么?

1 个答案:

答案 0 :(得分:0)

假设import config settings是正确的,您可以将文件名列表(例如 imageLoader.loadImage(url, new SimpleImageLoadingListener(){ @Override public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) { super.onLoadingComplete(imageUri, view, loadedImage); //Write your code here } }); )作为["1232422", "1232423", ...] parameter传递给此查询:

filenames