public interface SchemaWriteOperations
| Modifier and Type | Method and Description |
|---|---|
void |
constraintDrop(Statement state,
UniquenessConstraint constraint) |
org.neo4j.kernel.impl.api.index.IndexDescriptor |
indexCreate(Statement state,
long labelId,
long propertyKeyId)
Creates an index, indexing properties with the given
propertyKeyId for nodes with the given
labelId. |
void |
indexDrop(Statement state,
org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor)
Drops a
IndexDescriptor from the database |
void |
uniqueIndexDrop(Statement state,
org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor)
This should not be used, it is exposed to allow an external job to clean up constraint indexes.
|
UniquenessConstraint |
uniquenessConstraintCreate(Statement state,
long labelId,
long propertyKeyId) |
org.neo4j.kernel.impl.api.index.IndexDescriptor indexCreate(Statement state, long labelId, long propertyKeyId) throws AddIndexFailureException, AlreadyIndexedException, AlreadyConstrainedException
propertyKeyId for nodes with the given
labelId.void indexDrop(Statement state, org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor) throws DropIndexFailureException
IndexDescriptor from the databaseDropIndexFailureExceptionvoid uniqueIndexDrop(Statement state, org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor) throws DropIndexFailureException
DropIndexFailureExceptionUniquenessConstraint uniquenessConstraintCreate(Statement state, long labelId, long propertyKeyId) throws AlreadyConstrainedException, CreateConstraintFailureException, AlreadyIndexedException
void constraintDrop(Statement state, UniquenessConstraint constraint) throws DropConstraintFailureException
DropConstraintFailureExceptionCopyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.