Neo4j Community

org.neo4j.graphdb.traversal
Interface BranchOrderingPolicy

All Known Implementing Classes:
CommonBranchOrdering

public interface BranchOrderingPolicy

Creator of BranchSelector instances with a starting point to base the first decision on.


Method Summary
 BranchSelector create(TraversalBranch startBranch)
          Instantiates a BranchSelector with startBranch as the first branch to base a decision on "where to go next".
 

Method Detail

create

BranchSelector create(TraversalBranch startBranch)
Instantiates a BranchSelector with startBranch as the first branch to base a decision on "where to go next".

Parameters:
startBranch - the TraversalBranch to start from.
Returns:
a new BranchSelector used to decide "where to go next" in the traversal.

Neo4j Community

Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.