public static enum AddOptions.ReplacementPolicy extends Enum<AddOptions.ReplacementPolicy>
Enum Constant and Description |
---|
FULL
Replace/reindex the entire document.
|
NONE
The default mode.
|
PARTIAL
Only reindex/replace fields that are updated in the command.
|
Modifier and Type | Method and Description |
---|---|
static AddOptions.ReplacementPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddOptions.ReplacementPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddOptions.ReplacementPolicy NONE
public static final AddOptions.ReplacementPolicy FULL
public static final AddOptions.ReplacementPolicy PARTIAL
public static AddOptions.ReplacementPolicy[] values()
for (AddOptions.ReplacementPolicy c : AddOptions.ReplacementPolicy.values()) System.out.println(c);
public static AddOptions.ReplacementPolicy 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 © 2019. All rights reserved.