Method for importing CSV file data to nodes table.
Only special case is treating columns is id columns: first column found named 'id' (case insensitive) will be used as node id, others will be ignored.
No special column must be provided.
If a column name is not already in nodes table, it will be created with the corresponding columnType index.
If a node id already exists, depending on assignNewNodeIds, a new id will be assigned to it or instead, the already existing node attributes will be updated with the CSV data
@param file CSV file @param separator Separator of values of the CSV file @param charset Charset of the CSV file @param columnNames Names of the columns in the CSV file to use @param columnTypes Types of the columns in the CSV file to use when creating columns @param assignNewNodeIds Indicates if nodes should be assigned new ids when the ids are already in nodes table or not provided.
|
|
|
|