public class PropertyUniqueConstraintCreator extends PropertyConstraintCreator
propertyKey
actions, label
Modifier and Type | Method and Description |
---|---|
protected ConstraintDefinition |
doCreate() |
protected ConstraintCreator |
doOn(String propertyKey) |
ConstraintCreator |
unique()
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. |
create, on
protected ConstraintCreator doOn(String propertyKey)
doOn
in class PropertyConstraintCreator
public ConstraintCreator unique()
ConstraintCreator
given property
, such that
there can be at most one node, having the given label, for any set value of that property key.unique
in interface ConstraintCreator
unique
in class PropertyConstraintCreator
ConstraintCreator
instance to be used for further interaction.protected ConstraintDefinition doCreate()
doCreate
in class PropertyConstraintCreator
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.