org.opencypher.spark.impl.io.hdfs
Reads the schema of a relationship csv file. The schema file is in JSON format and has the following structure: { "idField": { "name": "id", "column": 0, "valueType": "LONG" }, "startIdField": { "name": "start", "column": 1, "valueType": "LONG" }, "endIdField": { "name": "end", "column": 2, "valueType": "LONG" }, "relationshipType": "KNOWS", "propertyFields": [ { "name": "since", "column": 3, "valueType": "INTEGER" } ] }
Reads the schema of a relationship csv file. The schema file is in JSON format and has the following structure: { "idField": { "name": "id", "column": 0, "valueType": "LONG" }, "startIdField": { "name": "start", "column": 1, "valueType": "LONG" }, "endIdField": { "name": "end", "column": 2, "valueType": "LONG" }, "relationshipType": "KNOWS", "propertyFields": [ { "name": "since", "column": 3, "valueType": "INTEGER" } ] }