Package com.graphdbapi
Interface Edge
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetFromId()获取起始点VertexIdlonggetOtherId(long startId)获取另端VertexIdlonggetToId()获取终止点VertexIdStringid()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
-
-