Package oracle.pgx.config
Enum OnMissingVertex
- java.lang.Object
-
- java.lang.Enum<OnMissingVertex>
-
- oracle.pgx.config.OnMissingVertex
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OnMissingVertex>
public enum OnMissingVertex extends java.lang.Enum<OnMissingVertex>
strategies to handle missing vertices during the edge loading phase
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_VERTEX
create the missing vertex.CREATE_VERTEX_LOG
logging behavior on create edgeCREATE_VERTEX_LOG_ONCE
ERROR
throw an exception.IGNORE_EDGE
ignore the loaded edge.IGNORE_EDGE_LOG
logging behavior on ignore edgeIGNORE_EDGE_LOG_ONCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
IGNORE_EDGE
public static final OnMissingVertex IGNORE_EDGE
ignore the loaded edge.
-
IGNORE_EDGE_LOG
public static final OnMissingVertex IGNORE_EDGE_LOG
logging behavior on ignore edge
-
IGNORE_EDGE_LOG_ONCE
public static final OnMissingVertex IGNORE_EDGE_LOG_ONCE
-
CREATE_VERTEX
public static final OnMissingVertex CREATE_VERTEX
create the missing vertex. This strategy is currently not supported when loading partitioned graphs with aPartitionedGraphConfig
-
CREATE_VERTEX_LOG
public static final OnMissingVertex CREATE_VERTEX_LOG
logging behavior on create edge
-
CREATE_VERTEX_LOG_ONCE
public static final OnMissingVertex CREATE_VERTEX_LOG_ONCE
-
ERROR
public static final OnMissingVertex ERROR
throw an exception.
-
-
Method Detail
-
values
public static OnMissingVertex[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OnMissingVertex c : OnMissingVertex.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OnMissingVertex valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toKey
public java.lang.String toKey()
-
-