public interface BranchSelector
Modifier and Type | Method and Description |
---|---|
TraversalBranch |
next(TraversalContext metadata)
Decides the next position ("where to go from here") from the current
position, based on the
rules . |
TraversalBranch next(TraversalContext metadata)
rules
. Since TraversalBranch
has the Path.endNode()
of the position and the
Path.lastRelationship()
to how it got there, decisions
can be based on the current expansion source and the given rules.metadata
- the context for the traversalrules
of the traversal.Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.