Package org.apache.spark.graphx
Class EdgeDirection
Object
org.apache.spark.graphx.EdgeDirection
- All Implemented Interfaces:
 Serializable
The direction of a directed edge relative to a vertex.
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic final EdgeDirectionBoth()Edges originating from *and* arriving at a vertex of interest.static final EdgeDirectionEither()Edges originating from *or* arriving at a vertex of interest.booleaninthashCode()static final EdgeDirectionIn()Edges arriving at a vertex.static final EdgeDirectionOut()Edges originating from a vertex.reverse()Reverse the direction of an edge.toString() 
- 
Constructor Details
- 
EdgeDirection
public EdgeDirection() 
 - 
 - 
Method Details
- 
In
Edges arriving at a vertex. - 
Out
Edges originating from a vertex. - 
Either
Edges originating from *or* arriving at a vertex of interest. - 
Both
Edges originating from *and* arriving at a vertex of interest. - 
reverse
Reverse the direction of an edge. An in becomes out, out becomes in and both and either remain the same.- Returns:
 - (undocumented)
 
 - 
toString
 - 
equals
 - 
hashCode
public int hashCode() 
 -