Package com.graphdbapi.driver
Interface Edge
-
- All Superinterfaces:
ElementWithProperty
public interface Edge extends ElementWithProperty
操作边接口- Version:
- 3.3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vertex
getFromVertex()
获取起始点信息。 不是同边信息一同返回,额外调用了Graph.retrieveVertex(long)
方法获取。long
getFromVertexId()
获取起始点idString
getId()
获取边idVertex
getToVertex()
获取终止点信息。 不是同边信息一同返回,额外调用了Graph.retrieveVertex(long)
方法获取。long
getToVertexId()
获取终止点idString
getType()
获取边类型-
Methods inherited from interface com.graphdbapi.driver.ElementWithProperty
getAllProperties, getProperty, getPropertyKeys, hasProperty
-
-
-
-
Method Detail
-
getId
String getId()
获取边id- Returns:
- String
-
getType
String getType()
获取边类型- Returns:
- STRING
-
getFromVertex
Vertex getFromVertex()
获取起始点信息。 不是同边信息一同返回,额外调用了Graph.retrieveVertex(long)
方法获取。- Returns:
Vertex
-
getFromVertexId
long getFromVertexId()
获取起始点id- Returns:
- long
-
getToVertex
Vertex getToVertex()
获取终止点信息。 不是同边信息一同返回,额外调用了Graph.retrieveVertex(long)
方法获取。- Returns:
Vertex
-
getToVertexId
long getToVertexId()
获取终止点id- Returns:
- long
-
-