简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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