Module arrow_flight::utils

source ·
Expand description

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

Functions

Convert RecordBatches to wire protocol FlightDatas
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
Convert a Schema to FlightData by converting to an IPC message
Convert FlightData (with supplied schema and dictionaries) to an arrow RecordBatch.
Convert a slice of wire protocol FlightDatas into a vector of RecordBatches
Convert a Schema to SchemaResult by converting to an IPC message
Convert a Schema to bytes in the format expected in FlightInfo.schema