Enum CancelStatus

java.lang.Object
java.lang.Enum<CancelStatus>
org.apache.arrow.flight.CancelStatus
All Implemented Interfaces:
Serializable, Comparable<CancelStatus>

public enum CancelStatus extends Enum<CancelStatus>
The result of cancelling a FlightInfo.
  • Enum Constant Details

    • UNSPECIFIED

      public static final CancelStatus UNSPECIFIED
      The cancellation status is unknown. Servers should avoid using this value (send a NOT_FOUND error if the requested query is not known). Clients can retry the request.
    • CANCELLED

      public static final CancelStatus CANCELLED
      The cancellation request is complete. Subsequent requests with the same payload may return CANCELLED or a NOT_FOUND error.
    • CANCELLING

      public static final CancelStatus CANCELLING
      The cancellation request is in progress. The client may retry the cancellation request.
    • NOT_CANCELLABLE

      public static final CancelStatus NOT_CANCELLABLE
      The query is not cancellable. The client should not retry the cancellation request.
  • Method Details

    • values

      public static CancelStatus[] 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 CancelStatus 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