helix.graph.model.impl.memory
Class MemGraph
java.lang.Object
helix.graph.model.impl.AbstractRegistry
helix.graph.model.impl.DelegateRegistry
helix.graph.model.impl.AbstractGraph
helix.graph.model.impl.memory.MemGraph
- All Implemented Interfaces:
- Graph, Registry
public class MemGraph
- extends AbstractGraph
Methods inherited from class helix.graph.model.impl.AbstractGraph |
addPhysicalVertex, assertEdge, clear, disconnectVertex, findVertex, findVertex, findVertices, findVertices, getEdge, hasEdge, hasVertex, nbEdges, nbVertices, physicalSplit, removeEdge, removeVertex, vertices |
Methods inherited from interface helix.graph.model.Registry |
copy, get, has, keys, remove, set, set, set, set, set, set |
MemGraph
public MemGraph()
factory
public GraphFactory factory()
vertexSetFactory
public GSetFactory<Vertex> vertexSetFactory()
edgeSetFactory
public GSetFactory<Edge> edgeSetFactory()
registry
public Registry registry()
- Specified by:
registry
in interface Registry
- Specified by:
registry
in class DelegateRegistry
addVertex
public Vertex addVertex()
addEdge
public Edge addEdge(Vertex v1,
Vertex v2)
throws NoSuchVertexException,
SameVertexException,
DuplicateEdgeException
- Throws:
NoSuchVertexException
SameVertexException
DuplicateEdgeException
removeEdge
public void removeEdge(Vertex v1,
Vertex v2)
throws NoSuchVertexException
- Throws:
NoSuchVertexException