Package | Description |
---|---|
org.neo4j.graphdb.schema |
Optional graph schema including indexes and constraints.
|
Modifier and Type | Method and Description |
---|---|
IndexDefinition |
IndexCreator.create()
Creates an index with the details specified by the other methods in this interface.
|
Modifier and Type | Method and Description |
---|---|
Iterable<IndexDefinition> |
Schema.getIndexes() |
Iterable<IndexDefinition> |
Schema.getIndexes(Label label) |
Modifier and Type | Method and Description |
---|---|
void |
Schema.awaitIndexOnline(IndexDefinition index,
long duration,
TimeUnit unit)
Wait until an index comes online
|
String |
Schema.getIndexFailure(IndexDefinition index)
If
Schema.getIndexState(IndexDefinition) return Schema.IndexState.FAILED this method will
return the failure description. |
IndexPopulationProgress |
Schema.getIndexPopulationProgress(IndexDefinition index)
Poll the database for the population progress.
|
Schema.IndexState |
Schema.getIndexState(IndexDefinition index)
Poll the database for the state of a given index.
|
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.