Package org.elasticsearch.transport
Enum TransportRequestOptions.Type
- java.lang.Object
-
- java.lang.Enum<TransportRequestOptions.Type>
-
- org.elasticsearch.transport.TransportRequestOptions.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TransportRequestOptions.Type>
,java.lang.constant.Constable
- Enclosing class:
- TransportRequestOptions
public static enum TransportRequestOptions.Type extends java.lang.Enum<TransportRequestOptions.Type>
-
-
Method Summary
Modifier and Type Method Description static TransportRequestOptions.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TransportRequestOptions.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RECOVERY
public static final TransportRequestOptions.Type RECOVERY
-
BULK
public static final TransportRequestOptions.Type BULK
-
REG
public static final TransportRequestOptions.Type REG
-
STATE
public static final TransportRequestOptions.Type STATE
-
PING
public static final TransportRequestOptions.Type PING
-
-
Method Detail
-
values
public static TransportRequestOptions.Type[] 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 TransportRequestOptions.Type 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
-
-