public enum UpdateOptions extends java.lang.Enum<UpdateOptions>
| Enum Constant and Description |
|---|
UPDATE_ONLY
Indicates that the sendTo operator will only perform an Update operation for the given key.
|
UPDATE_WITH_DEFAULTS
Indicates that the sendTo operator will first apply an update for the given key.
|
| Modifier and Type | Method and Description |
|---|---|
static UpdateOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UpdateOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateOptions UPDATE_ONLY
public static final UpdateOptions UPDATE_WITH_DEFAULTS
UpdateMessage.of(Object, Object)
2) The Table Integration should throw a RecordNotFoundException when update
fails due to no record being found for the key.
Put a default can fail due to an exception due to various reasons- server error, failed conditional put
(failed Put if record already inserted by another process). An update will be re-attempted regardless of the
result of the Put default operation.public static UpdateOptions[] values()
for (UpdateOptions c : UpdateOptions.values()) System.out.println(c);
public static UpdateOptions 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 null