Package org.neo4j.graphdb.traversal
Enum Class BranchCollisionPolicies
- All Implemented Interfaces:
Serializable
,Comparable<BranchCollisionPolicies>
,Constable
,BranchCollisionPolicy
public enum BranchCollisionPolicies
extends Enum<BranchCollisionPolicies>
implements BranchCollisionPolicy
A catalogue of convenient branch collision policies, see
BranchCollisionPolicy
-
Enum Constant Summary
Enum ConstantDescriptionThis branch collision policy includes only the shortest paths where the traversers collide, which means that the end node of the startSide and endSide traverser paths is identical and filters the resulting paths by applying the evaluator and path predicate.This branch collision policy includes all combined paths where the traversers collide, which means that the end node of the startSide and endSide traverser paths is identical and filters the resulting paths by applying the evaluator and path predicate. -
Method Summary
Modifier and TypeMethodDescriptionstatic BranchCollisionPolicies
Returns the enum constant of this class with the specified name.static BranchCollisionPolicies[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from interface org.neo4j.graphdb.traversal.BranchCollisionPolicy
create
-
Enum Constant Details
-
STANDARD
This branch collision policy includes all combined paths where the traversers collide, which means that the end node of the startSide and endSide traverser paths is identical and filters the resulting paths by applying the evaluator and path predicate. -
SHORTEST_PATH
This branch collision policy includes only the shortest paths where the traversers collide, which means that the end node of the startSide and endSide traverser paths is identical and filters the resulting paths by applying the evaluator and path predicate.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-