org.neo4j.graphdb.traversal
Interface SideSelectorPolicy
- All Known Implementing Classes:
- SideSelectorPolicies
public interface SideSelectorPolicy
A factory for SideSelector
s. Used during bidirectional traversals.
- Author:
- Mattias Persson
create
SideSelector create(BranchSelector start,
BranchSelector end,
int maxDepth)
- Creates a new
SideSelector
given the start
/end
BranchSelector
s and an optional maxDepth
.
- Parameters:
start
- the start side BranchSelector
of this
bidirectional traversal.end
- the end side BranchSelector
of this
bidirectional traversal.maxDepth
- an optional max depth the combined traversal depth must
be kept within. Optional in the sense that only some implementations
honors it.
- Returns:
- a new
SideSelector
for start
and end
BranchSelector
s.
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.