[英]How to configure OrientDB ETL to import an LinkList as edge attribute
How can i configure a JSON file for initialice a mandatory attribute of type 'LINKLIST' when i import a.csv file?当我导入 a.csv 文件时,如何配置 JSON 文件以初始化“LINKLIST”类型的强制属性?
My code is:我的代码是:
{ "edge": {
"class": "Edgename",
"joinFieldName": "FieldName",
"lookup": "Vertex.FieldName",
"direction": "out",
"edgeFields": {
"name": "myname",
"Link_List": "[]"
}
}
},
Thanks.谢谢。
I solve it as this:我这样解决它:
{ "edge": {
"class": "Edgename",
"joinFieldName": "FieldName",
"lookup": "Vertex.FieldName",
"direction": "out",
"edgeFields": {
"name": "myname",
"Link_List": ""
}
}
},
Only double quotes are necessary.只需要双引号。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.