Enum Class Merge
- All Implemented Interfaces:
Serializable,Comparable<Merge>,Constable
Merge options relevant to upsert-like steps
mergeV() and mergeE() that are applied to the relevant
option() modulator.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAllows for more complex definition of the IN vertex.Allows definition of the action to take when a merge operation ends up not matching the search criteria.Allows definition of the action to take when a merge operation ends up successfully matching the search criteria.Allows for more complex definition of the OUT vertex. -
Method Summary
-
Enum Constant Details
-
onCreate
Allows definition of the action to take when a merge operation ends up not matching the search criteria. Typically, this event means that anElementwill be created.- Since:
- 3.6.0
-
onMatch
Allows definition of the action to take when a merge operation ends up successfully matching the search criteria. Typically, this event means that the matchedElementwill be returned.- Since:
- 3.6.0
-
outV
Allows for more complex definition of the OUT vertex.- Since:
- 3.6.2
-
inV
Allows for more complex definition of the IN vertex.- Since:
- 3.6.2
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-