public class EdgeTriplet<VD,ED> extends Edge<ED>
Constructor and Description |
---|
EdgeTriplet() |
Modifier and Type | Method and Description |
---|---|
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.
|
attr, dstId, otherVertexId, relativeDirection, srcId
public VD srcAttr()
public VD dstAttr()
public VD otherVertexAttr(long vid)
vid
- the id one of the two vertices on the edgepublic VD vertexAttr(long vid)
vid
- the id of one of the two vertices on the edgepublic String toString()
toString
in class Object