Package | Description |
---|---|
org.neo4j.graphdb.schema |
Optional graph schema including indexes and constraints.
|
Modifier and Type | Method and Description |
---|---|
ConstraintCreator |
ConstraintCreator.assertPropertyIsUnique(String propertyKey)
Imposes a uniqueness constraint for the given property, such that
there can be at most one node, having the given label, for any set value of that property key.
|
ConstraintCreator |
Schema.constraintFor(Label label)
Returns a
ConstraintCreator where details about the constraint can be
specified. |
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.