com.intel.hadoop.graphbuilder.graph.simplegraph
Class SimpleSubGraph<VidType,VertexData,EdgeData>
java.lang.Object
com.intel.hadoop.graphbuilder.graph.simplegraph.SimpleGraph<VidType,VertexData,EdgeData>
com.intel.hadoop.graphbuilder.graph.simplegraph.SimpleSubGraph<VidType,VertexData,EdgeData>
- Type Parameters:
VidType
- VertexData
- EdgeData
-
- All Implemented Interfaces:
- Graph<VidType,VertexData,EdgeData>
public class SimpleSubGraph<VidType,VertexData,EdgeData>
- extends SimpleGraph<VidType,VertexData,EdgeData>
Represents a subpartition within a normal partition. Subgraph is designed for
increasing the parallelism in the SimpleGraph
serialization from
GraphBuilder to GraphLab2.
Methods inherited from class com.intel.hadoop.graphbuilder.graph.simplegraph.SimpleGraph |
addEdge, addEdges, addVertexRecord, clear, clearAdjList, clearEdataList, finalize, numEdges, numVertices, outEdgeData, outEdgeTargetIds, pid, reserveEdgeSpace, reserveVertexSpace, setPid, toString, vertices |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleSubGraph
public SimpleSubGraph()
setSubPid
public void setSubPid(int id)
subpid
public int subpid()