Package org.neo4j.graphdb.traversal
Interface BranchOrderingPolicy
- All Known Implementing Classes:
BranchOrderingPolicies
public interface BranchOrderingPolicy
Creator of
BranchSelector
instances with a starting point to base
the first decision on.-
Method Summary
Modifier and TypeMethodDescriptioncreate
(TraversalBranch startBranch, PathExpander expander) Instantiates aBranchSelector
withstartBranch
as the first branch to base a decision on "where to go next".
-
Method Details
-
create
Instantiates aBranchSelector
withstartBranch
as the first branch to base a decision on "where to go next".- Parameters:
startBranch
- theTraversalBranch
to start from.expander
-PathExpander
to use for expanding the branch.- Returns:
- a new
BranchSelector
used to decide "where to go next" in the traversal.
-