Class

org.apache.spark.graphx

EdgeTriplet

Related Doc: package graphx

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EdgeTriplet()

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. var attr: ED

    Permalink

    The attribute associated with the edge

    The attribute associated with the edge

    Definition Classes
    Edge
  6. def clone(): AnyRef

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

    Permalink

    The destination vertex attribute

  8. var dstId: VertexId

    Permalink

    The vertex id of the target vertex

    The vertex id of the target vertex

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

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def otherVertexAttr(vid: VertexId): VD

    Permalink

    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

  17. def otherVertexId(vid: VertexId): VertexId

    Permalink

    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
  18. def relativeDirection(vid: VertexId): EdgeDirection

    Permalink

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

    Permalink

    Set the edge properties of this triplet.

    Set the edge properties of this triplet.

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

    Permalink

    The source vertex attribute

  21. var srcId: VertexId

    Permalink

    The vertex id of the source vertex

    The vertex id of the source vertex

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

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

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

    Permalink
  25. def vertexAttr(vid: VertexId): VD

    Permalink

    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

  26. final def wait(): Unit

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

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

    Permalink
    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