Interface Constraint.CommonConstraints

All Known Subinterfaces:
Constraint.ConstraintsForNodes
Enclosing class:
Constraint

public static interface Constraint.CommonConstraints
Constraints available for both nodes and relationships.
  • Method Summary

    Modifier and Type
    Method
    Description
    exists(String property)
    Creates an existential constraint for the given property
  • Method Details

    • exists

      Constraint exists(String property)
      Creates an existential constraint for the given property
      Parameters:
      property - the property that is required to exist
      Returns:
      the new constraint