public class IndexDefinitionImpl extends Object implements IndexDefinition
| Constructor and Description |
|---|
IndexDefinitionImpl(InternalSchemaActions actions,
Label label,
String propertyKey,
boolean constraintIndex) |
public IndexDefinitionImpl(InternalSchemaActions actions, Label label, String propertyKey, boolean constraintIndex)
public Label getLabel()
getLabel in interface IndexDefinitionlabel this index definition is associated with.public Iterable<String> getPropertyKeys()
getPropertyKeys in interface IndexDefinitionpublic void drop()
IndexDefinitionSchema.getIndexes(Label) will no longer include this index
and any related background jobs and files will be stopped and removed.drop in interface IndexDefinitionpublic boolean isConstraintIndex()
isConstraintIndex in interface IndexDefinitiontrue if this index is created as a side effect of the creation of a uniqueness constraint.Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.