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 SummaryConstructors
- 
Method SummaryModifier 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- 
EdgeDirectionpublic EdgeDirection()
 
- 
- 
Method Details- 
InEdges arriving at a vertex.
- 
OutEdges originating from a vertex.
- 
EitherEdges originating from *or* arriving at a vertex of interest.
- 
BothEdges originating from *and* arriving at a vertex of interest.
- 
reverseReverse the direction of an edge. An in becomes out, out becomes in and both and either remain the same.- Returns:
- (undocumented)
 
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
 
-