-
Creates an existential constraint for the given property
Constraint.ConstraintsForNodes.key(String... properties)
Creates a key constraint for the given property
Constraint.parse(org.neo4j.driver.types.MapAccessor row)
Parses a constraint from a MapAccessor
, which will either contain a result from call db.constraints()
(Neo4j 3.5 upto 4.1) or from SHOW CONSTRAINTS YIELD *
from Neo4j 4.2 and upwards
Creates a constraint from a xml definition.
Creates a unique constraint for the given property
Creates a copy of this constraint with the specific set of options added.