@InterfaceAudience.Public public class Edge extends Object
Modifier and Type | Method and Description |
---|---|
static Edge |
create(Vertex inputVertex,
Vertex outputVertex,
EdgeProperty edgeProperty)
Creates an edge between the specified vertices.
|
boolean |
equals(Object obj) |
EdgeProperty |
getEdgeProperty()
The @link
EdgeProperty for this edge |
Vertex |
getInputVertex()
The @link
Vertex that provides input to the edge |
Vertex |
getOutputVertex()
The @link
Vertex that reads output from the edge |
int |
hashCode() |
String |
toString() |
public static Edge create(Vertex inputVertex, Vertex outputVertex, EdgeProperty edgeProperty)
inputVertex
- the vertex which generates data to the edge.outputVertex
- the vertex which consumes data from the edgeedgeProperty
- EdgeProperty
associated with this edgeEdge
public Vertex getInputVertex()
Vertex
that provides input to the edgeVertex
public Vertex getOutputVertex()
Vertex
that reads output from the edgeVertex
public EdgeProperty getEdgeProperty()
EdgeProperty
for this edgeEdgeProperty
Copyright © 2024 Apache Software Foundation. All rights reserved.