Uses of Interface
org.neo4j.graphdb.schema.IndexCreator
Package
Description
Optional graph schema including indexes and constraints.
-
Uses of IndexCreator in org.neo4j.graphdb.schema
Modifier and TypeMethodDescriptionBegin specifying an index for all nodes with the given label.Begin specifying an index for all nodes with any of the given labels.Schema.indexFor
(RelationshipType type) Begin specifying an index for all relationships with the given relationship type.Schema.indexFor
(RelationshipType... types) Begin specifying an index for all relationships with any of the given relationship types.Begin specifying an index of typeIndexType.LOOKUP
for all labels or relationship types.IndexCreator.withIndexConfiguration
(Map<IndexSetting, Object> indexConfiguration) Set index-specific index configurations.IndexCreator.withIndexType
(IndexType type) Specify the type of index to be created.Assign a name to the index, which will then be returned fromIndexDefinition.getName()
, and can be used for finding the index withSchema.getIndexByName(String)
.