public enum AutoIndexMode extends Enum<AutoIndexMode>
| Enum Constant and Description |
|---|
ASSERT
Removes all indexes and constraints on startup then creates all indexes and constraints defined in metadata.
|
DUMP
Runs validate then creates a file (in same dir where launched) with the cypher used to build indexes and constraints.
|
NONE
No indexing will be performed.
|
VALIDATE
Ensures that all constraints and indexes exist on startup or will throw a Runtime exception.
|
| Modifier and Type | Method and Description |
|---|---|
static AutoIndexMode |
fromString(String name)
Parses an option name into the Enumeration type it represents.
|
String |
getName() |
static AutoIndexMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoIndexMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoIndexMode NONE
public static final AutoIndexMode ASSERT
public static final AutoIndexMode VALIDATE
public static final AutoIndexMode DUMP
public static AutoIndexMode[] values()
for (AutoIndexMode c : AutoIndexMode.values()) System.out.println(c);
public static AutoIndexMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static AutoIndexMode fromString(String name)
name - The lowercase name to parse.AutoIndexMode this name represents.public String getName()
Copyright © 2017 Neo Technology, Inc.. All rights reserved.