Class CancelFlightInfoResult

java.lang.Object
org.apache.arrow.flight.CancelFlightInfoResult

public class CancelFlightInfoResult extends Object
The result of cancelling a FlightInfo.
  • Constructor Details

    • CancelFlightInfoResult

      public CancelFlightInfoResult(CancelStatus status)
  • Method Details

    • getStatus

      public CancelStatus getStatus()
    • serialize

      public ByteBuffer serialize()
      Get the serialized form of this protocol message.

      Intended to help interoperability by allowing non-Flight services to still return Flight types.

    • deserialize

      public static CancelFlightInfoResult deserialize(ByteBuffer serialized) throws IOException
      Parse the serialized form of this protocol message.

      Intended to help interoperability by allowing Flight clients to obtain stream info from non-Flight services.

      Parameters:
      serialized - The serialized form of the message, as returned by serialize().
      Returns:
      The deserialized message.
      Throws:
      IOException - if the serialized form is invalid.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object