Neo4j Enterprise

org.neo4j.unsafe.batchinsert
Class BatchIndexDefinition

java.lang.Object
  extended by org.neo4j.unsafe.batchinsert.BatchIndexDefinition
All Implemented Interfaces:
IndexDefinition

public class BatchIndexDefinition
extends Object
implements IndexDefinition


Constructor Summary
BatchIndexDefinition(Label label, String... propertyKeys)
           
 
Method Summary
 void drop()
          Drops this index.
 Label getLabel()
           
 Iterable<String> getPropertyKeys()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchIndexDefinition

public BatchIndexDefinition(Label label,
                            String... propertyKeys)
Method Detail

getLabel

public Label getLabel()
Specified by:
getLabel in interface IndexDefinition
Returns:
the label this index definition is associated with.

getPropertyKeys

public Iterable<String> getPropertyKeys()
Specified by:
getPropertyKeys in interface IndexDefinition
Returns:
the property keys this index was created on.

drop

public void drop()
Description copied from interface: IndexDefinition
Drops this index. Schema.getIndexes(Label) will no longer include this index and any related background jobs and files will be stopped and removed.

Specified by:
drop in interface IndexDefinition

Neo4j Enterprise

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