Class FlightSplit
java.lang.Object
org.elasticsearch.xpack.esql.datasource.grpc.FlightSplit
- All Implemented Interfaces:
NamedWriteable,Writeable,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.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonglonginthashCode()location()byte[]toString()voidwriteTo(StreamOutput out)
-
Field Details
-
ENTRY
-
-
Constructor Details
-
FlightSplit
-
FlightSplit
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
sourceType
- Specified by:
sourceTypein interfaceExternalSplit
-
estimatedSizeInBytes
public long estimatedSizeInBytes()- Specified by:
estimatedSizeInBytesin interfaceExternalSplit
-
ticketBytes
public byte[] ticketBytes() -
location
-
estimatedRows
public long estimatedRows() -
equals
-
hashCode
public int hashCode() -
toString
-