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
-
Method Summary
Modifier and TypeMethodDescriptionstatic final EdgeDirection
Both()
Edges originating from *and* arriving at a vertex of interest.static final EdgeDirection
Either()
Edges originating from *or* arriving at a vertex of interest.boolean
int
hashCode()
static final EdgeDirection
In()
Edges arriving at a vertex.static final EdgeDirection
Out()
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()
-