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 TypeMethodDescriptionCreates an existential constraint for the given property
-
Method Details
-
exists
Creates an existential constraint for the given property- Parameters:
property
- the property that is required to exist- Returns:
- the new constraint
-