A batch of Arrow data as part of a stream of batches.

from protobuf message arrow.flight.protocol.FlightData

interface FlightData {
    appMetadata: Uint8Array;
    dataBody: Uint8Array;
    dataHeader: Uint8Array;
    flightDescriptor?: FlightDescriptor;
}

Properties

appMetadata: Uint8Array

Application-defined metadata.

from protobuf field: bytes app_metadata = 3;

dataBody: Uint8Array

The actual batch of Arrow data. Preferably handled with minimal-copies coming last in the definition to help with sidecar patterns (it is expected that some implementations will fetch this field off the wire with specialized code to avoid extra memory copies).

from protobuf field: bytes data_body = 1000;

dataHeader: Uint8Array

Header for message data as described in Message.fbs::Message.

from protobuf field: bytes data_header = 2;

flightDescriptor?: FlightDescriptor

The descriptor of the data. This is only relevant when a client is starting a new DoPut stream.

from protobuf field: arrow.flight.protocol.FlightDescriptor flight_descriptor = 1;