Package | Description |
---|---|
org.neo4j.graphdb.schema |
Optional graph schema including indexes and constraints.
|
Modifier and Type | Method and Description |
---|---|
IndexCreator |
Schema.indexFor(Label label)
Returns an
IndexCreator where details about the index to create can be
specified. |
IndexCreator |
IndexCreator.on(String propertyKey)
|
IndexCreator |
IndexCreator.withName(String indexName)
Assign a name to the index, which will then be returned from
IndexDefinition.getName() , and can be used for finding the index with
Schema.getIndexByName(String) . |
Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.