public static interface Path.Segment
Path: (n1)-[r1]->(n2)<-[r2]-(n3)
Segment 1: (n1)-[r1]->(n2)
Segment 2: (n2)<-[r2]-(n3)
| Modifier and Type | Method and Description |
|---|---|
Node |
end()
The node that this segment ends at.
|
Relationship |
relationship() |
Node |
start()
The node that this segment starts at.
|
Relationship relationship()
Node start()
Node end()