将Graphson加载到Titan图数据库

时间:2017-05-23 11:18:23

标签: java json titan gremlin

我有这样的graphjson:

{
   "id": 0,
   "label": "Person",
   "outE": {
      "transfer": [
         {
            "id": 0,
            "inV": "ICIC0000008-805000017",
            "properties": {
               "amount": "228786690"
            }
         }
      ]
   },
   "properties": {
      "name": [
         {
            "id": 0,
            "value": "SBIN0000196-33502796303"
         }
      ]
   }
}

我正在尝试使用以下查询将其加载到titan中:graph.io(IoCore.graphson()).readGraph("test.json")

但是,我收到错误:Invalid Vertex:Null

0 个答案:

没有答案