public static enum MergeOptions.WhenNotMatched extends java.lang.Enum<MergeOptions.WhenNotMatched>
Enum Constant and Description |
---|
DISCARD
Discard the document; i.e.
|
FAIL
Stop and fail the aggregation operation.
|
INSERT
Insert the document into the output collection.
|
Modifier and Type | Method and Description |
---|---|
static MergeOptions.WhenNotMatched |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MergeOptions.WhenNotMatched[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MergeOptions.WhenNotMatched INSERT
public static final MergeOptions.WhenNotMatched DISCARD
public static final MergeOptions.WhenNotMatched FAIL
public static MergeOptions.WhenNotMatched[] values()
for (MergeOptions.WhenNotMatched c : MergeOptions.WhenNotMatched.values()) System.out.println(c);
public static MergeOptions.WhenNotMatched 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 nullCopyright © 2010 - 2023 Adobe. All Rights Reserved