org.apache.spark.graphx

EdgeTriplet

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
Linear Supertypes
Edge[ED], Product, Equals, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EdgeTriplet
  2. Edge
  3. Product
  4. Equals
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EdgeTriplet()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. var attr: ED

    Definition Classes
    Edge
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. var dstAttr: VD

    The destination vertex attribute

  10. var dstId: VertexId

    Definition Classes
    Edge
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. 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

  19. 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
  20. 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
  21. def set(other: Edge[ED]): EdgeTriplet[VD, ED]

    Set the edge properties of this triplet.

    Set the edge properties of this triplet.

    Attributes
    protected[org.apache.spark]
  22. var srcAttr: VD

    The source vertex attribute

  23. var srcId: VertexId

    Definition Classes
    Edge
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    EdgeTripletEdge → AnyRef → Any
  26. def toTuple: ((VertexId, VD), (VertexId, VD), ED)

  27. 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

  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Edge[ED]

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped