public enum OnMissingVertex extends java.lang.Enum<OnMissingVertex>
Enum Constant and Description |
---|
CREATE_VERTEX
create the missing vertex.
|
CREATE_VERTEX_LOG
logging behavior on create edge
|
CREATE_VERTEX_LOG_ONCE |
ERROR
throw an exception.
|
IGNORE_EDGE
ignore the loaded edge.
|
IGNORE_EDGE_LOG
logging behavior on ignore edge
|
IGNORE_EDGE_LOG_ONCE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toKey() |
static OnMissingVertex |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OnMissingVertex[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final OnMissingVertex CREATE_VERTEX
PartitionedGraphConfig
public static final OnMissingVertex CREATE_VERTEX_LOG
public static final OnMissingVertex CREATE_VERTEX_LOG_ONCE
public static final OnMissingVertex ERROR
public static final OnMissingVertex IGNORE_EDGE
public static final OnMissingVertex IGNORE_EDGE_LOG
public static final OnMissingVertex IGNORE_EDGE_LOG_ONCE
public java.lang.String toKey()
public static OnMissingVertex 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 OnMissingVertex[] values()
for (OnMissingVertex c : OnMissingVertex.values()) System.out.println(c);