| Package | Description | 
|---|---|
| org.neo4j.graphdb.traversal | 
 Traversal framework. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TraversalBranch | 
TraversalBranch.next(PathExpander expander,
    TraversalContext metadata)
Returns the next expansion source from the expanded relationships
 from the current node. 
 | 
TraversalBranch | 
BranchSelector.next(TraversalContext metadata)
Decides the next position ("where to go from here") from the current
 position, based on the  
rules. | 
TraversalBranch | 
LevelSelectorOrderer.next(TraversalContext metadata)  | 
TraversalBranch | 
AlternatingSelectorOrderer.next(TraversalContext metadata)  | 
TraversalBranch | 
TraversalBranch.parent()
The parent expansion source which created this  
TraversalBranch. | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
UniquenessFilter.check(TraversalBranch branch)
Checks whether or not  
branch is unique, and hence can be
 visited in this traversal. | 
boolean | 
UniquenessFilter.checkFirst(TraversalBranch branch)
The check whether or not to expand the first branch is a separate
 method because it may contain checks which would be unnecessary for
 all other checks. 
 | 
BranchSelector | 
BranchOrderingPolicy.create(TraversalBranch startBranch,
      PathExpander expander)
Instantiates a  
BranchSelector with startBranch as the
 first branch to base a decision on "where to go next". | 
<STATE> Evaluation | 
TraversalContext.evaluate(TraversalBranch branch,
        BranchState<STATE> state)
Evaluates a  
TraversalBranch whether or not to include it in the
 result and whether or not to continue further down this branch or not. | 
Iterable<Path> | 
BranchCollisionDetector.evaluate(TraversalBranch branch,
        Direction direction)
Evaluate the given  
branch coming from either the start side or the
 end side. | 
boolean | 
TraversalContext.isUnique(TraversalBranch branch)
Used for all except branches to check adherence to the traversal
 uniqueness. 
 | 
boolean | 
TraversalContext.isUniqueFirst(TraversalBranch branch)
Used for start branches to check adherence to the traversal uniqueness. 
 | 
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.