Package org.opensearch.action.support
Enum IndicesOptions.WildcardStates
java.lang.Object
java.lang.Enum<IndicesOptions.WildcardStates>
org.opensearch.action.support.IndicesOptions.WildcardStates
- All Implemented Interfaces:
Serializable
,Comparable<IndicesOptions.WildcardStates>
- Enclosing class:
IndicesOptions
@PublicApi(since="1.0.0")
public static enum IndicesOptions.WildcardStates
extends Enum<IndicesOptions.WildcardStates>
The wildcard states.
- Opensearch.api:
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumSet
<IndicesOptions.WildcardStates> parseParameter
(Object value, EnumSet<IndicesOptions.WildcardStates> defaultStates) static org.opensearch.core.xcontent.XContentBuilder
toXContent
(EnumSet<IndicesOptions.WildcardStates> states, org.opensearch.core.xcontent.XContentBuilder builder) Returns the enum constant of this type with the specified name.static IndicesOptions.WildcardStates[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OPEN
-
CLOSED
-
HIDDEN
-
-
Field Details
-
NONE
-
-
Method Details
-
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
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
parseParameter
public static EnumSet<IndicesOptions.WildcardStates> parseParameter(Object value, EnumSet<IndicesOptions.WildcardStates> defaultStates) -
toXContent
public static org.opensearch.core.xcontent.XContentBuilder toXContent(EnumSet<IndicesOptions.WildcardStates> states, org.opensearch.core.xcontent.XContentBuilder builder) throws IOException - Throws:
IOException
-