// Insert node
Object entity = graphNode.getData();
EntityMetadata m = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, entity.getClass());
Object pk = PropertyAccessorHelper.getId(entity, m);
Map<String, Object> nodeProperties = mapper.createNodeProperties(entity, m);
long nodeId = inserter.createNode(nodeProperties);
pkToNodeIdMap.put(pk, nodeId);
// Index Node
indexer.indexNodeUsingBatchIndexer(indexProvider, m, nodeId, nodeProperties,
nodeAutoIndexingEnabled);