org.neo4j.kernel.impl.storemigration
Class PropertyWriter
java.lang.Object
org.neo4j.kernel.impl.storemigration.PropertyWriter
public class PropertyWriter
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyWriter
public PropertyWriter(PropertyStore propertyStore)
writeProperties
public long writeProperties(List<Pair<Integer,Object>> properties)
- Transforms a mapping of key index ids to values into a property chain.
Mostly copied-pasted from BatchTransactionImpl.
- Parameters:
properties
- The mapping, as a list of Pairs of keys and values
- Returns:
- a long value valid for a property record id that is the id of the
head of the chain, suitable for a nextProp() value on a
primitive.
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.