use of org.neo4j.kernel.impl.nioneo.store.NodeRecord in project graphdb by neo4j-attic.
the class BatchInserterImpl method createNode.
public long createNode(Map<String, Object> properties) {
long nodeId = getNodeStore().nextId();
NodeRecord nodeRecord = new NodeRecord(nodeId);
nodeRecord.setInUse(true);
nodeRecord.setCreated();
nodeRecord.setNextProp(createPropertyChain(properties));
getNodeStore().updateRecord(nodeRecord);
return nodeId;
}
Aggregations