public enum ESOption extends Enum<ESOption>
Enum Constant and Description |
---|
ES_DEFAULT
Specifies no value to elasticsearch, hence using the default value of elasticserach
|
FALSE
Specifies false to elasticsearch as the value for this option
|
TRUE
Specifies true to elasticsearch as the value for this option
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ESOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ESOption TRUE
public static final ESOption FALSE
public static final ESOption ES_DEFAULT
public static ESOption[] values()
for (ESOption c : ESOption.values()) System.out.println(c);
public static ESOption 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 © 2018. All rights reserved.