Search in sources :

Example 1 with IteratingPropertyReceiver

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;
}
Also used : NodeRecord(org.neo4j.kernel.impl.store.record.NodeRecord) IteratingPropertyReceiver(org.neo4j.kernel.impl.core.IteratingPropertyReceiver) PropertyRecord(org.neo4j.kernel.impl.store.record.PropertyRecord)

Aggregations

IteratingPropertyReceiver (org.neo4j.kernel.impl.core.IteratingPropertyReceiver)1 NodeRecord (org.neo4j.kernel.impl.store.record.NodeRecord)1 PropertyRecord (org.neo4j.kernel.impl.store.record.PropertyRecord)1