Enum UpdateResultStatus
- java.lang.Object
-
- java.lang.Enum<UpdateResultStatus>
-
- com.linkedin.davinci.schema.merge.UpdateResultStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UpdateResultStatus>
public enum UpdateResultStatus extends java.lang.Enum<UpdateResultStatus>
This enum represents status of something (a record or a field) after being updated. Currently, both field and record can share these 3 update result statuses.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETELY_UPDATED
NOT_UPDATED_AT_ALL
PARTIALLY_UPDATED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UpdateResultStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UpdateResultStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_UPDATED_AT_ALL
public static final UpdateResultStatus NOT_UPDATED_AT_ALL
-
PARTIALLY_UPDATED
public static final UpdateResultStatus PARTIALLY_UPDATED
-
COMPLETELY_UPDATED
public static final UpdateResultStatus COMPLETELY_UPDATED
-
-
Method Detail
-
values
public static UpdateResultStatus[] 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 (UpdateResultStatus c : UpdateResultStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateResultStatus 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
-
-