graph_gen_utils.memory_graph
Class MemGraph
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemGraph
public MemGraph()
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