|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.apache.spark.graphx.Edge<ED>
org.apache.spark.graphx.EdgeTriplet<VD,ED>
public class EdgeTriplet<VD,ED>
An edge triplet represents an edge along with the vertex attributes of its neighboring vertices.
Constructor Summary | |
---|---|
EdgeTriplet()
|
Method Summary | |
---|---|
VD |
dstAttr()
The destination vertex attribute |
VD |
otherVertexAttr(long vid)
Given one vertex in the edge return the other vertex. |
VD |
srcAttr()
The source vertex attribute |
String |
toString()
|
scala.Tuple3<scala.Tuple2<Object,VD>,scala.Tuple2<Object,VD>,ED> |
toTuple()
|
VD |
vertexAttr(long vid)
Get the vertex object for the given vertex in the edge. |
Methods inherited from class org.apache.spark.graphx.Edge |
---|
attr, dstId, otherVertexId, relativeDirection, srcId |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface scala.Product |
---|
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
---|
canEqual, equals |
Constructor Detail |
---|
public EdgeTriplet()
Method Detail |
---|
public VD srcAttr()
public VD dstAttr()
public VD otherVertexAttr(long vid)
vid
- the id one of the two vertices on the edge
public VD vertexAttr(long vid)
vid
- the id of one of the two vertices on the edge
public String toString()
toString
in class Object
public scala.Tuple3<scala.Tuple2<Object,VD>,scala.Tuple2<Object,VD>,ED> toTuple()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |