Enum CloseSessionResult.Status

java.lang.Object
java.lang.Enum<CloseSessionResult.Status>
org.apache.arrow.flight.CloseSessionResult.Status
All Implemented Interfaces:
Serializable, Comparable<CloseSessionResult.Status>, java.lang.constant.Constable
Enclosing class:
CloseSessionResult

public static enum CloseSessionResult.Status extends Enum<CloseSessionResult.Status>
Close operation result status values.
  • Enum Constant Details

    • UNSPECIFIED

      public static final CloseSessionResult.Status UNSPECIFIED
      The session close status 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.
    • CLOSED

      public static final CloseSessionResult.Status CLOSED
      The session close request is complete.
    • CLOSING

      public static final CloseSessionResult.Status CLOSING
      The session close request is in progress. The client may retry the request.
    • NOT_CLOSABLE

      public static final CloseSessionResult.Status NOT_CLOSABLE
      The session is not closeable.
  • Method Details

    • values

      public static CloseSessionResult.Status[] 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 CloseSessionResult.Status valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromProtocol

      public static CloseSessionResult.Status fromProtocol(Flight.CloseSessionResult.Status proto)
    • toProtocol

      public Flight.CloseSessionResult.Status toProtocol()