org.neo4j.kernel.impl.persistence
Class PersistenceManager
java.lang.Object
org.neo4j.kernel.impl.persistence.PersistenceManager
public class PersistenceManager
- extends Object
Method Summary |
void |
createPropertyIndex(String key,
int id)
|
void |
createRelationshipType(int id,
String name)
|
RelIdArray |
getCreatedNodes()
|
int |
getKeyIdForProperty(PropertyData property)
|
Pair<Map<RelIdArray.DirectionWrapper,Iterable<RelationshipRecord>>,Long> |
getMoreRelationships(long nodeId,
long position)
|
PersistenceSource |
getPersistenceSource()
|
long |
getRelationshipChainPosition(long nodeId)
|
boolean |
isNodeCreated(long nodeId)
|
boolean |
isRelationshipCreated(long relId)
|
RelationshipTypeData[] |
loadAllRelationshipTypes()
|
String |
loadIndex(int id)
|
boolean |
loadLightNode(long id)
|
RelationshipRecord |
loadLightRelationship(long id)
|
ArrayMap<Integer,PropertyData> |
loadNodeProperties(long nodeId,
boolean light)
|
PropertyIndexData[] |
loadPropertyIndexes(int maxCount)
|
Object |
loadPropertyValue(PropertyData property)
|
ArrayMap<Integer,PropertyData> |
loadRelProperties(long relId,
boolean light)
|
PropertyData |
nodeAddProperty(long nodeId,
PropertyIndex index,
Object value)
|
PropertyData |
nodeChangeProperty(long nodeId,
PropertyData data,
Object value)
|
void |
nodeCreate(long id)
|
ArrayMap<Integer,PropertyData> |
nodeDelete(long nodeId)
|
void |
nodeRemoveProperty(long nodeId,
PropertyData data)
|
PropertyData |
relAddProperty(long relId,
PropertyIndex index,
Object value)
|
void |
relationshipCreate(long id,
int typeId,
long startNodeId,
long endNodeId)
|
PropertyData |
relChangeProperty(long relId,
PropertyData data,
Object value)
|
ArrayMap<Integer,PropertyData> |
relDelete(long relId)
|
void |
relRemoveProperty(long relId,
PropertyData data)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistenceManager
public PersistenceManager(TransactionManager transactionManager,
PersistenceSource persistenceSource,
TxEventSyncHookFactory syncHookFactory,
LockReleaser lockReleaser)
getPersistenceSource
public PersistenceSource getPersistenceSource()
loadLightNode
public boolean loadLightNode(long id)
loadPropertyValue
public Object loadPropertyValue(PropertyData property)
loadIndex
public String loadIndex(int id)
loadPropertyIndexes
public PropertyIndexData[] loadPropertyIndexes(int maxCount)
getRelationshipChainPosition
public long getRelationshipChainPosition(long nodeId)
getMoreRelationships
public Pair<Map<RelIdArray.DirectionWrapper,Iterable<RelationshipRecord>>,Long> getMoreRelationships(long nodeId,
long position)
loadNodeProperties
public ArrayMap<Integer,PropertyData> loadNodeProperties(long nodeId,
boolean light)
loadRelProperties
public ArrayMap<Integer,PropertyData> loadRelProperties(long relId,
boolean light)
loadLightRelationship
public RelationshipRecord loadLightRelationship(long id)
loadAllRelationshipTypes
public RelationshipTypeData[] loadAllRelationshipTypes()
nodeDelete
public ArrayMap<Integer,PropertyData> nodeDelete(long nodeId)
nodeAddProperty
public PropertyData nodeAddProperty(long nodeId,
PropertyIndex index,
Object value)
nodeChangeProperty
public PropertyData nodeChangeProperty(long nodeId,
PropertyData data,
Object value)
nodeRemoveProperty
public void nodeRemoveProperty(long nodeId,
PropertyData data)
nodeCreate
public void nodeCreate(long id)
relationshipCreate
public void relationshipCreate(long id,
int typeId,
long startNodeId,
long endNodeId)
relDelete
public ArrayMap<Integer,PropertyData> relDelete(long relId)
relAddProperty
public PropertyData relAddProperty(long relId,
PropertyIndex index,
Object value)
relChangeProperty
public PropertyData relChangeProperty(long relId,
PropertyData data,
Object value)
relRemoveProperty
public void relRemoveProperty(long relId,
PropertyData data)
createPropertyIndex
public void createPropertyIndex(String key,
int id)
createRelationshipType
public void createRelationshipType(int id,
String name)
getCreatedNodes
public RelIdArray getCreatedNodes()
isNodeCreated
public boolean isNodeCreated(long nodeId)
isRelationshipCreated
public boolean isRelationshipCreated(long relId)
getKeyIdForProperty
public int getKeyIdForProperty(PropertyData property)
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.