public class Ticket extends Object
| Constructor and Description |
|---|
Ticket(byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
static Ticket |
deserialize(ByteBuffer serialized)
Parse the serialized form of this protocol message.
|
boolean |
equals(Object obj) |
byte[] |
getBytes() |
int |
hashCode() |
ByteBuffer |
serialize()
Get the serialized form of this protocol message.
|
public byte[] getBytes()
public ByteBuffer serialize()
Intended to help interoperability by allowing non-Flight services to still return Flight types.
public static Ticket deserialize(ByteBuffer serialized) throws IOException
Intended to help interoperability by allowing Flight clients to obtain stream info from non-Flight services.
serialized - The serialized form of the Ticket, as returned by serialize().IOException - if the serialized form is invalid.Copyright © 2024 The Apache Software Foundation. All rights reserved.