Package org.elasticsearch.action.support
Enum IndicesOptions.Option
- java.lang.Object
-
- java.lang.Enum<IndicesOptions.Option>
-
- org.elasticsearch.action.support.IndicesOptions.Option
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IndicesOptions.Option>
,java.lang.constant.Constable
- Enclosing class:
- IndicesOptions
public static enum IndicesOptions.Option extends java.lang.Enum<IndicesOptions.Option>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_NO_INDICES
FORBID_ALIASES_TO_MULTIPLE_INDICES
FORBID_CLOSED_INDICES
IGNORE_ALIASES
IGNORE_THROTTLED
IGNORE_UNAVAILABLE
-
Field Summary
Fields Modifier and Type Field Description static java.util.EnumSet<IndicesOptions.Option>
NONE
-
Method Summary
Modifier and Type Method Description static IndicesOptions.Option
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IndicesOptions.Option[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGNORE_UNAVAILABLE
public static final IndicesOptions.Option IGNORE_UNAVAILABLE
-
IGNORE_ALIASES
public static final IndicesOptions.Option IGNORE_ALIASES
-
ALLOW_NO_INDICES
public static final IndicesOptions.Option ALLOW_NO_INDICES
-
FORBID_ALIASES_TO_MULTIPLE_INDICES
public static final IndicesOptions.Option FORBID_ALIASES_TO_MULTIPLE_INDICES
-
FORBID_CLOSED_INDICES
public static final IndicesOptions.Option FORBID_CLOSED_INDICES
-
IGNORE_THROTTLED
public static final IndicesOptions.Option IGNORE_THROTTLED
-
-
Field Detail
-
NONE
public static final java.util.EnumSet<IndicesOptions.Option> NONE
-
-
Method Detail
-
values
public static IndicesOptions.Option[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndicesOptions.Option valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-