|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexCreator
A builder for entering details about an index to create. After all details have been entered
create()
must be called for the index to actually be created. An index creator knows
which label
it is to be created for.
All methods except create()
will return an IndexCreator
which should be
used for further interaction.
Schema
Method Summary | |
---|---|
IndexDefinition |
create()
Creates an index with the details specified by the other methods in this interface. |
IndexCreator |
on(String propertyKey)
Includes the given propertyKey in this index, such that nodes with
the assigned label and this property key will have its values indexed. |
Method Detail |
---|
IndexCreator on(String propertyKey)
propertyKey
in this index, such that nodes
with
the assigned label
and this property key will have its values indexed.
NOTE: currently only a single property key per index is supported.
propertyKey
- the property key to include in this index to be created.
IndexCreator
instance to be used for further interaction.IndexDefinition create() throws ConstraintViolationException
index
.
ConstraintViolationException
- if creating this index would violate one or more constraints.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |