@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 | 
String | 
getId()  | 
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 edgeEdgepublic Vertex getInputVertex()
Vertex that provides input to the edgeVertexpublic Vertex getOutputVertex()
Vertex that reads output from the edgeVertexpublic EdgeProperty getEdgeProperty()
EdgeProperty for this edgeEdgeProperty@InterfaceAudience.Private public String getId()
Copyright © 2016 Apache Software Foundation. All rights reserved.