graph_gen_utils.memory_graph
Class MemGraph

java.lang.Object
  extended by graph_gen_utils.memory_graph.MemGraph
All Implemented Interfaces:
org.neo4j.graphdb.GraphDatabaseService

public class MemGraph
extends java.lang.Object
implements org.neo4j.graphdb.GraphDatabaseService


Constructor Summary
MemGraph()
           
 
Method Summary
 void addRelationship(MemRel memRel)
           
 org.neo4j.graphdb.Transaction beginTx()
           
 org.neo4j.graphdb.Node createNode()
           
 boolean enableRemoteShell()
           
 boolean enableRemoteShell(java.util.Map<java.lang.String,java.io.Serializable> initialProperties)
           
 java.lang.Iterable<org.neo4j.graphdb.Node> getAllNodes()
           
 org.neo4j.graphdb.Node getNodeById(long id)
           
 org.neo4j.graphdb.Node getReferenceNode()
           
 org.neo4j.graphdb.Relationship getRelationshipById(long id)
           
 java.lang.Iterable<org.neo4j.graphdb.RelationshipType> getRelationshipTypes()
           
 org.neo4j.graphdb.event.KernelEventHandler registerKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler arg0)
           
<T> org.neo4j.graphdb.event.TransactionEventHandler<T>
registerTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> arg0)
           
 void removeNode(java.lang.Long id)
           
 void removeRelationship(java.lang.Long id)
           
 void setNextNodeId(long nextNodeId)
           
 void shutdown()
           
 org.neo4j.graphdb.event.KernelEventHandler unregisterKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler arg0)
           
<T> org.neo4j.graphdb.event.TransactionEventHandler<T>
unregisterTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> arg0)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemGraph

public MemGraph()
Method Detail

setNextNodeId

public void setNextNodeId(long nextNodeId)

removeNode

public void removeNode(java.lang.Long id)

removeRelationship

public void removeRelationship(java.lang.Long id)

addRelationship

public void addRelationship(MemRel memRel)

getAllNodes

public java.lang.Iterable<org.neo4j.graphdb.Node> getAllNodes()
Specified by:
getAllNodes in interface org.neo4j.graphdb.GraphDatabaseService

beginTx

public org.neo4j.graphdb.Transaction beginTx()
Specified by:
beginTx in interface org.neo4j.graphdb.GraphDatabaseService

createNode

public org.neo4j.graphdb.Node createNode()
Specified by:
createNode in interface org.neo4j.graphdb.GraphDatabaseService

getNodeById

public org.neo4j.graphdb.Node getNodeById(long id)
Specified by:
getNodeById in interface org.neo4j.graphdb.GraphDatabaseService

getRelationshipById

public org.neo4j.graphdb.Relationship getRelationshipById(long id)
Specified by:
getRelationshipById in interface org.neo4j.graphdb.GraphDatabaseService

enableRemoteShell

public boolean enableRemoteShell()
Specified by:
enableRemoteShell in interface org.neo4j.graphdb.GraphDatabaseService

enableRemoteShell

public boolean enableRemoteShell(java.util.Map<java.lang.String,java.io.Serializable> initialProperties)
Specified by:
enableRemoteShell in interface org.neo4j.graphdb.GraphDatabaseService

getReferenceNode

public org.neo4j.graphdb.Node getReferenceNode()
Specified by:
getReferenceNode in interface org.neo4j.graphdb.GraphDatabaseService

getRelationshipTypes

public java.lang.Iterable<org.neo4j.graphdb.RelationshipType> getRelationshipTypes()
Specified by:
getRelationshipTypes in interface org.neo4j.graphdb.GraphDatabaseService

shutdown

public void shutdown()
Specified by:
shutdown in interface org.neo4j.graphdb.GraphDatabaseService

registerKernelEventHandler

public org.neo4j.graphdb.event.KernelEventHandler registerKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler arg0)
Specified by:
registerKernelEventHandler in interface org.neo4j.graphdb.GraphDatabaseService

registerTransactionEventHandler

public <T> org.neo4j.graphdb.event.TransactionEventHandler<T> registerTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> arg0)
Specified by:
registerTransactionEventHandler in interface org.neo4j.graphdb.GraphDatabaseService

unregisterKernelEventHandler

public org.neo4j.graphdb.event.KernelEventHandler unregisterKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler arg0)
Specified by:
unregisterKernelEventHandler in interface org.neo4j.graphdb.GraphDatabaseService

unregisterTransactionEventHandler

public <T> org.neo4j.graphdb.event.TransactionEventHandler<T> unregisterTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> arg0)
Specified by:
unregisterTransactionEventHandler in interface org.neo4j.graphdb.GraphDatabaseService