|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TraversalBranch
Represents a position and a RelationshipExpander with a
traversal context, for example parent and an iterator of relationships to go
next. It's a base to write a BranchSelector on top of.
| Method Summary | |
|---|---|
int |
depth()
The depth for this expansion source compared to the start node of the traversal. |
Evaluation |
evaluation()
|
int |
expanded()
Returns the number of relationships this expansion source has expanded. |
void |
initialize()
|
TraversalBranch |
next()
Returns the next expansion source from the expanded relationships from the current node. |
Node |
node()
The node for this expansion source. |
TraversalBranch |
parent()
The parent expansion source which created this TraversalBranch. |
Path |
position()
The position represented by this expansion source. |
Relationship |
relationship()
The relationship for this expansion source. |
| Method Detail |
|---|
TraversalBranch parent()
TraversalBranch.
Path position()
int depth()
Node node()
Relationship relationship()
TraversalBranch next()
int expanded()
Evaluation evaluation()
void initialize()
|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||