Package org.apache.arrow.flight
Enum SetSessionOptionsResult.ErrorValue
java.lang.Object
java.lang.Enum<SetSessionOptionsResult.ErrorValue>
org.apache.arrow.flight.SetSessionOptionsResult.ErrorValue
- All Implemented Interfaces:
Serializable
,Comparable<SetSessionOptionsResult.ErrorValue>
,java.lang.constant.Constable
- Enclosing class:
- SetSessionOptionsResult
public static enum SetSessionOptionsResult.ErrorValue
extends Enum<SetSessionOptionsResult.ErrorValue>
Error status value for per-option errors.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe session option cannot be set.The given session option name is invalid.The session option value or type is invalid.The status of setting the option is unknown. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static SetSessionOptionsResult.ErrorValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
The status of setting the option is unknown. Servers should avoid using this value (send a NOT_FOUND error if the requested session is not known). Clients can retry the request. -
INVALID_NAME
The given session option name is invalid. -
INVALID_VALUE
The session option value or type is invalid. -
ERROR
The session option cannot be set.
-
-
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
-