use of org.neo4j.kernel.impl.core.IteratingPropertyReceiver in project neo4j by neo4j.
the class OnlineIndexUpdates method nodeFullyLoadProperties.
private Iterator<DefinedProperty> nodeFullyLoadProperties(long nodeId, NodeCommand nodeCommand, List<PropertyCommand> propertyCommands) {
NodeRecord nodeRecord = (nodeCommand == null) ? loadNode(nodeId) : nodeCommand.getAfter();
IteratingPropertyReceiver receiver = new IteratingPropertyReceiver();
PrimitiveLongObjectMap<PropertyRecord> propertiesById = propertiesFromCommandsForNode(propertyCommands);
propertyLoader.nodeLoadProperties(nodeRecord, propertiesById, receiver);
return receiver;
}
Aggregations