Loads a graph stored in indexed CSV format from HDFS or the local file system The CSV files must be stored following this schema: # Nodes
Reads the schema of a node csv file.
Reads the schema of a node csv file. The schema file is in JSON format and has the following structure: { "idField": { "name": "id", "column": 0, "valueType": "LONG" }, "implicitLabels": ["Person","Employee"], "optionalLabels": [ { "name": "Swede", "column": 3, "valueType": "BOOLEAN" }, { "name": "German", "column": 4, "valueType": "BOOLEAN" } ], "propertyFields": [ { "name": "name", "column": 1, "valueType": "STRING" }, { "name": "luckyNumber", "column": 2, "valueType": "INTEGER" } ] }
Reads the schema of a relationship csv file.
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" } ] }
Loads a graph stored in indexed CSV format from HDFS or the local file system The CSV files must be stored following this schema: # Nodes