Uses of Interface
org.neo4j.graphdb.schema.IndexDefinition
Package
Description
Optional graph schema including indexes and constraints.
-
Uses of IndexDefinition in org.neo4j.graphdb.schema
Modifier and TypeMethodDescriptionIndexCreator.create()
Creates an index with the details specified by the other methods in this interface.Schema.getIndexByName
(String indexName) Get anIndexDefinition
by the name of the index.Modifier and TypeMethodDescriptionSchema.getIndexes()
Schema.getIndexes
(Label label) Schema.getIndexes
(RelationshipType relationshipType) Modifier and TypeMethodDescriptionvoid
Schema.awaitIndexOnline
(IndexDefinition index, long duration, TimeUnit unit) Wait until an index comes onlineSchema.getIndexFailure
(IndexDefinition index) IfSchema.getIndexState(IndexDefinition)
returnSchema.IndexState.FAILED
this method will return the failure description.Schema.getIndexPopulationProgress
(IndexDefinition index) Poll the database for the population progress.Schema.getIndexState
(IndexDefinition index) Poll the database for the state of a given index.