public class ExistingEdgePartitionBuilder<ED,VD>
extends Object
Constructor and Description |
---|
ExistingEdgePartitionBuilder(org.apache.spark.graphx.util.collection.GraphXPrimitiveKeyOpenHashMap<Object,Object> global2local,
long[] local2global,
Object vertexAttrs,
scala.Option<org.apache.spark.util.collection.OpenHashSet<Object>> activeSet,
int size,
scala.reflect.ClassTag<ED> evidence$3,
scala.reflect.ClassTag<VD> evidence$4) |
Modifier and Type | Method and Description |
---|---|
void |
add(long src,
long dst,
int localSrc,
int localDst,
ED d)
Add a new edge to the partition.
|
EdgePartition<ED,VD> |
toEdgePartition() |
public ExistingEdgePartitionBuilder(org.apache.spark.graphx.util.collection.GraphXPrimitiveKeyOpenHashMap<Object,Object> global2local, long[] local2global, Object vertexAttrs, scala.Option<org.apache.spark.util.collection.OpenHashSet<Object>> activeSet, int size, scala.reflect.ClassTag<ED> evidence$3, scala.reflect.ClassTag<VD> evidence$4)
public void add(long src, long dst, int localSrc, int localDst, ED d)
public EdgePartition<ED,VD> toEdgePartition()