Package org.apache.spark.graphx.impl
Class AggregatingEdgeContext<VD,ED,A>
Object
org.apache.spark.graphx.EdgeContext<VD,ED,A>
org.apache.spark.graphx.impl.AggregatingEdgeContext<VD,ED,A>
-
Constructor Summary
ConstructorsConstructorDescriptionAggregatingEdgeContext(scala.Function2<A, A, A> mergeMsg, Object aggregates, org.apache.spark.util.collection.BitSet bitset) -
Method Summary
Modifier and TypeMethodDescriptionattr()The attribute associated with the edge.dstAttr()The vertex attribute of the edge's destination vertex.longdstId()The vertex id of the edge's destination vertex.voidSends a message to the destination vertex.voidSends a message to the source vertex.voidvoidvoidsetSrcOnly(long srcId, int localSrcId, VD srcAttr) srcAttr()The vertex attribute of the edge's source vertex.longsrcId()The vertex id of the edge's source vertex.Methods inherited from class org.apache.spark.graphx.EdgeContext
toEdgeTriplet, unapply
-
Constructor Details
-
AggregatingEdgeContext
-
-
Method Details
-
attr
Description copied from class:EdgeContextThe attribute associated with the edge.- Specified by:
attrin classEdgeContext<VD,ED, A>
-
dstAttr
Description copied from class:EdgeContextThe vertex attribute of the edge's destination vertex.- Specified by:
dstAttrin classEdgeContext<VD,ED, A>
-
dstId
public long dstId()Description copied from class:EdgeContextThe vertex id of the edge's destination vertex.- Specified by:
dstIdin classEdgeContext<VD,ED, A>
-
sendToDst
Description copied from class:EdgeContextSends a message to the destination vertex.- Specified by:
sendToDstin classEdgeContext<VD,ED, A>
-
sendToSrc
Description copied from class:EdgeContextSends a message to the source vertex.- Specified by:
sendToSrcin classEdgeContext<VD,ED, A>
-
set
-
setDest
-
setSrcOnly
-
srcAttr
Description copied from class:EdgeContextThe vertex attribute of the edge's source vertex.- Specified by:
srcAttrin classEdgeContext<VD,ED, A>
-
srcId
public long srcId()Description copied from class:EdgeContextThe vertex id of the edge's source vertex.- Specified by:
srcIdin classEdgeContext<VD,ED, A>
-