public static enum MergeInsertParams.WhenNotMatchedBySource extends Enum<MergeInsertParams.WhenNotMatchedBySource>
| Enum Constant and Description |
|---|
Delete
Delete all rows from target table that don't match a row in the source table
|
DeleteIf
Delete rows from the target table if there is no match AND the expression evaluates to true
This can be used to replace a region of data with new data
|
Keep
Do not delete rows from the target table This can be used for a find-or-create or an upsert
operation
|
| Modifier and Type | Method and Description |
|---|---|
static MergeInsertParams.WhenNotMatchedBySource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MergeInsertParams.WhenNotMatchedBySource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MergeInsertParams.WhenNotMatchedBySource Keep
public static final MergeInsertParams.WhenNotMatchedBySource Delete
public static final MergeInsertParams.WhenNotMatchedBySource DeleteIf
public static MergeInsertParams.WhenNotMatchedBySource[] values()
for (MergeInsertParams.WhenNotMatchedBySource c : MergeInsertParams.WhenNotMatchedBySource.values()) System.out.println(c);
public static MergeInsertParams.WhenNotMatchedBySource valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025. All rights reserved.