org.neo4j.graphdb.schema
Interface IndexDefinition

All Known Implementing Classes:
BatchIndexDefinition

public interface IndexDefinition

Definition for an index NOTE: This is part of the new index API introduced in Neo4j 2.0. The former index API lives in IndexManager.


Method Summary
 void drop()
          Drops this index.
 Label getLabel()
           
 Iterable<String> getPropertyKeys()
           
 

Method Detail

getLabel

Label getLabel()
Returns:
the label this index definition is associated with.

getPropertyKeys

Iterable<String> getPropertyKeys()
Returns:
the property keys this index was created on.

drop

void drop()
Drops this index. Schema.getIndexes(Label) will no longer include this index and any related background jobs and files will be stopped and removed.



Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.