public enum IdStrategy extends java.lang.Enum<IdStrategy>
Enum Constant and Description |
---|
KEYS_AS_IDS
Indicates there are graph-wide global IDs for the entity type (vertices and / or edges) and that the IDs corresponds to the keys of the entities declared when loading or creating the graph
|
NO_IDS
Indicates that there are no graph-wide global IDs for the entity type (vertices and / or edges)
|
UNSTABLE_GENERATED_IDS
Indicates there are graph-wide global IDs for the entity type (vertices and / or edges) and that the IDs are generated by the system, without guarantee of stability: IDs may be different when reloading the graph, or when applying a graph mutation (potentially other cases).
|
Modifier and Type | Method and Description |
---|---|
static IdStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IdStrategy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final IdStrategy KEYS_AS_IDS
public static final IdStrategy NO_IDS
public static final IdStrategy UNSTABLE_GENERATED_IDS
public static IdStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static IdStrategy[] values()
for (IdStrategy c : IdStrategy.values()) System.out.println(c);