} else {
node = gec.createNode(null, id);//New id in the graph
}
}
} else {
node = gec.createNode(null);
}
//Assign attributes to the current node:
nodeAttributes = node.getNodeData().getAttributes();
for (AttributeColumn column : columnsList) {
setAttributeValue(reader.get(columnHeaders.get(column)), nodeAttributes, column);