|
Neo4j Enterprise | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TraversalBranch | |
---|---|
org.neo4j.graphdb.traversal | Traversal framework. |
org.neo4j.kernel | Implementation for embedding a Neo4j graph database in an application. |
Uses of TraversalBranch in org.neo4j.graphdb.traversal |
---|
Methods in org.neo4j.graphdb.traversal that return TraversalBranch | |
---|---|
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 |
TraversalBranch.parent()
The parent expansion source which created this TraversalBranch . |
Methods in org.neo4j.graphdb.traversal with parameters of type TraversalBranch | |
---|---|
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". |
Evaluation |
TraversalContext.evaluate(TraversalBranch branch)
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. |
Uses of TraversalBranch in org.neo4j.kernel |
---|
Methods in org.neo4j.kernel that return TraversalBranch | |
---|---|
static TraversalBranch |
Traversal.combineSourcePaths(TraversalBranch source,
TraversalBranch target)
Combines two TraversalBranch s with a common
head node in order to obtain an
TraversalBranch representing a path from the start node of the
source TraversalBranch to the start node of the
target TraversalBranch . |
TraversalBranch |
AlternatingSelectorOrderer.next(TraversalContext metadata)
|
TraversalBranch |
PreorderBreadthFirstSelector.next(TraversalContext metadata)
|
TraversalBranch |
LevelSelectorOrderer.next(TraversalContext metadata)
|
protected TraversalBranch |
AbstractSelectorOrderer.nextBranchFromCurrentSelector(TraversalContext metadata,
boolean switchIfExhausted)
|
protected TraversalBranch |
AbstractSelectorOrderer.nextBranchFromNextSelector(TraversalContext metadata,
boolean switchIfExhausted)
|
Methods in org.neo4j.kernel with parameters of type TraversalBranch | |
---|---|
static TraversalBranch |
Traversal.combineSourcePaths(TraversalBranch source,
TraversalBranch target)
Combines two TraversalBranch s with a common
head node in order to obtain an
TraversalBranch representing a path from the start node of the
source TraversalBranch to the start node of the
target TraversalBranch . |
Collection<Path> |
StandardBranchCollisionDetector.evaluate(TraversalBranch branch,
Direction direction)
|
protected boolean |
StandardBranchCollisionDetector.includePath(Path path,
TraversalBranch startPath,
TraversalBranch endPath)
|
protected boolean |
ShortestPathsBranchCollisionDetector.includePath(Path path,
TraversalBranch startBranch,
TraversalBranch endBranch)
|
Constructors in org.neo4j.kernel with parameters of type TraversalBranch | |
---|---|
BidirectionalTraversalBranchPath(TraversalBranch start,
TraversalBranch end)
|
|
PreorderBreadthFirstSelector(TraversalBranch startSource,
PathExpander expander)
|
|
Neo4j Enterprise | |||||||||
PREV NEXT | FRAMES NO FRAMES |