java.lang.Object
org.elasticsearch.xpack.esql.datasource.grpc.FlightSplit
All Implemented Interfaces:
NamedWriteable, Writeable, ExternalSplit

public class FlightSplit extends Object implements ExternalSplit
An ExternalSplit representing a single Arrow Flight endpoint. The ticketBytes field is an opaque token returned by the Flight server inside a FlightEndpoint. It is not data — it is the server's handle for identifying which stream to serve when the client calls DoGet(Ticket). Typical tickets are short (UUIDs, query IDs, encoded partition references — tens to hundreds of bytes). The constructor enforces a MAX_TICKET_SIZE cap to prevent oversized tokens from being shipped across the cluster.