Available on crate feature io_flight only.
Expand description

Serialization and deserialization to Arrow’s flight protocol

Re-exports

pub use super::ipc::write::default_ipc_fields;

Structs

Options declaring the behaviour of writing to IPC

Functions

Deserializes [FlightData] representing a record batch message to Chunk.

Deserializes [FlightData], assuming it to be a dictionary message, into dictionaries.

Deserializes [FlightData] into either a Chunk (when the message is a record batch) or by upserting into dictionaries (when the message is a dictionary)

Deserialize an IPC message into Schema, IpcSchema. Use to deserialize [FlightData::data_header] and [SchemaResult::schema].

Serializes Chunk to a vector of [FlightData] representing the serialized dictionaries and a [FlightData] representing the batch.

Serializes a Schema to [FlightData].

Convert a Schema to bytes in the format expected in [arrow_format::flight::data::FlightInfo].

Serializes a Schema to [SchemaResult].