public interface InternalSchemaActions
IndexCreatorImpl
and BaseConstraintCreator
for re-use
by both the graph database and the batch inserter.Modifier and Type | Method and Description |
---|---|
IndexDefinition |
createIndexDefinition(Label label,
String propertyKey) |
ConstraintDefinition |
createPropertyUniquenessConstraint(Label label,
String propertyKey) |
void |
dropIndexDefinitions(Label label,
String propertyKey) |
void |
dropPropertyUniquenessConstraint(Label label,
String propertyKey) |
String |
getUserMessage(KernelException e) |
IndexDefinition createIndexDefinition(Label label, String propertyKey)
ConstraintDefinition createPropertyUniquenessConstraint(Label label, String propertyKey) throws SchemaKernelException, org.neo4j.kernel.impl.api.ConstraintCreationKernelException
SchemaKernelException
org.neo4j.kernel.impl.api.ConstraintCreationKernelException
void dropPropertyUniquenessConstraint(Label label, String propertyKey)
String getUserMessage(KernelException e)
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.