public enum ChangeMode extends java.lang.Enum<ChangeMode>
ChangeEvent.
When the DEFAULT change mode is used, the apply connector will directly apply the contents of the ChangeEvent without applying additional logic.
When ADAPTIVE change mode is used, if the ChangeEvent's event type is INSERT or UPDATE, the apply connector will perform an "upsert". The connector will perform a lookup on FID by searching for the ChangeEvent's event ID. If the target entry exists, the apply connector will perform an UPDATE and if the target entry does not exist, the apply connector will perform an INSERT.
| Modifier and Type | Method and Description |
|---|---|
static ChangeMode |
getChangeMode(java.lang.String modeName)
Returns an instance of the ChangeMode that corresponds to the specified mode name.
|
java.lang.String |
getModeName()
Returns a String representation of this enumeration.
|
static ChangeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeMode DEFAULT
public static final ChangeMode ADAPTIVE
public static ChangeMode[] values()
for (ChangeMode c : ChangeMode.values()) System.out.println(c);
public static ChangeMode 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 java.lang.String getModeName()
public static ChangeMode getChangeMode(java.lang.String modeName)
modeName - The name of the change mode.