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