Package com.graphdbapi
Interface Edge
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getFromId()
获取起始点VertexIdlong
getOtherId(long startId)
获取另端VertexIdlong
getToId()
获取终止点VertexIdString
id()
EdgeId-
Methods inherited from interface com.graphdbapi.Element
getProperties, getProperty, getTypeIndex, getVersion, hasProperty
-
-
-
-
Method Detail
-
id
String id()
EdgeId- Returns:
- EdgeId
-
getFromId
long getFromId()
获取起始点VertexId- Returns:
- 起始点VertexId
-
getToId
long getToId()
获取终止点VertexId- Returns:
- 终止点VertexId
-
getOtherId
long getOtherId(long startId)
获取另端VertexId- Parameters:
startId
- 一端VertexId- Returns:
- 另一端VertexId
-
-