class EdgeTriplet[VD, ED] extends Edge[ED]
An edge triplet represents an edge along with the vertex attributes of its neighboring vertices.
- VD
the type of the vertex attribute.
- ED
the type of the edge attribute
- Source
- EdgeTriplet.scala
- Alphabetic
- By Inheritance
- EdgeTriplet
- Edge
- Product
- Equals
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- î new EdgeTriplet()
Value Members
- î
final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef â Any
- î
final def ##: Int
- Definition Classes
- AnyRef â Any
- î
final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef â Any
- î
final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- î
var attr: ED
- Definition Classes
- Edge
- î
def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- î
var dstAttr: VD
The destination vertex attribute
- î
var dstId: VertexId
- Definition Classes
- Edge
- î
final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- î
final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef â Any
- Annotations
- @IntrinsicCandidate() @native()
- î
final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- î
final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- î
final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- î
final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- î
def otherVertexAttr(vid: VertexId): VD
Given one vertex in the edge return the other vertex.
Given one vertex in the edge return the other vertex.
- vid
the id one of the two vertices on the edge
- returns
the attribute for the other vertex on the edge
- î
def otherVertexId(vid: VertexId): VertexId
Given one vertex in the edge return the other vertex.
Given one vertex in the edge return the other vertex.
- vid
the id one of the two vertices on the edge.
- returns
the id of the other vertex on the edge.
- Definition Classes
- Edge
- î
def productElementNames: Iterator[String]
- Definition Classes
- Product
- î
def relativeDirection(vid: VertexId): EdgeDirection
Return the relative direction of the edge to the corresponding vertex.
Return the relative direction of the edge to the corresponding vertex.
- vid
the id of one of the two vertices in the edge.
- returns
the relative direction of the edge to the corresponding vertex.
- Definition Classes
- Edge
- î
def set(other: Edge[ED]): EdgeTriplet[VD, ED]
Set the edge properties of this triplet.
Set the edge properties of this triplet.
- Attributes
- protected[spark]
- î
var srcAttr: VD
The source vertex attribute
- î
var srcId: VertexId
- Definition Classes
- Edge
- î
final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- î
def toString(): String
- Definition Classes
- EdgeTriplet â Edge â AnyRef â Any
- î def toTuple: ((VertexId, VD), (VertexId, VD), ED)
- î
def vertexAttr(vid: VertexId): VD
Get the vertex object for the given vertex in the edge.
Get the vertex object for the given vertex in the edge.
- vid
the id of one of the two vertices on the edge
- returns
the attr for the vertex with that id
- î
final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- î
final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- î
final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- î
def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)