org.neo4j.kernel.impl.storemigration
Class PropertyWriter

java.lang.Object
  extended by org.neo4j.kernel.impl.storemigration.PropertyWriter

public class PropertyWriter
extends Object


Constructor Summary
PropertyWriter(PropertyStore propertyStore)
           
 
Method Summary
 long writeProperties(List<Pair<Integer,Object>> properties)
          Transforms a mapping of key index ids to values into a property chain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyWriter

public PropertyWriter(PropertyStore propertyStore)
Method Detail

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.