Module arrow_flight::utils[][src]

Expand description

Utilities to assist with reading and writing Arrow data as Flight messages

Functions

flight_data_from_arrow_batch

Convert a RecordBatch to a vector of FlightData representing the bytes of the dictionaries and a FlightData representing the bytes of the batch’s values

flight_data_from_arrow_schema

Convert a Schema to FlightData by converting to an IPC message

flight_data_to_arrow_batch

Convert a FlightData message to a RecordBatch

flight_schema_from_arrow_schema

Convert a Schema to SchemaResult by converting to an IPC message

ipc_message_from_arrow_schema

Convert a Schema to bytes in the format expected in FlightInfo.schema