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
ConstructorDescriptionAggregatingEdgeContext
(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.long
dstId()
The vertex id of the edge's destination vertex.void
Sends a message to the destination vertex.void
Sends a message to the source vertex.void
void
void
setSrcOnly
(long srcId, int localSrcId, VD srcAttr) srcAttr()
The vertex attribute of the edge's source vertex.long
srcId()
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:EdgeContext
The attribute associated with the edge.- Specified by:
attr
in classEdgeContext<VD,
ED, A>
-
dstAttr
Description copied from class:EdgeContext
The vertex attribute of the edge's destination vertex.- Specified by:
dstAttr
in classEdgeContext<VD,
ED, A>
-
dstId
public long dstId()Description copied from class:EdgeContext
The vertex id of the edge's destination vertex.- Specified by:
dstId
in classEdgeContext<VD,
ED, A>
-
sendToDst
Description copied from class:EdgeContext
Sends a message to the destination vertex.- Specified by:
sendToDst
in classEdgeContext<VD,
ED, A>
-
sendToSrc
Description copied from class:EdgeContext
Sends a message to the source vertex.- Specified by:
sendToSrc
in classEdgeContext<VD,
ED, A>
-
set
-
setDest
-
setSrcOnly
-
srcAttr
Description copied from class:EdgeContext
The vertex attribute of the edge's source vertex.- Specified by:
srcAttr
in classEdgeContext<VD,
ED, A>
-
srcId
public long srcId()Description copied from class:EdgeContext
The vertex id of the edge's source vertex.- Specified by:
srcId
in classEdgeContext<VD,
ED, A>
-