Enum Class BranchCollisionPolicies

java.lang.Object
java.lang.Enum<BranchCollisionPolicies>
org.neo4j.graphdb.traversal.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 Constants
    Enum Constant
    Description
    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.
    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 Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    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

      public static final BranchCollisionPolicies 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

      public static final BranchCollisionPolicies 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

      public static BranchCollisionPolicies[] 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

      public static BranchCollisionPolicies valueOf(String name)
      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 name
      NullPointerException - if the argument is null