Module arrow_flight::utils
source · Expand description
Utilities to assist with reading and writing Arrow data as Flight messages
Functions§
- Convert
RecordBatch
es to wire protocolFlightData
s - flight_data_from_arrow_batchDeprecatedConvert a
RecordBatch
to a vector ofFlightData
representing the bytes of the dictionaries and aFlightData
representing the bytes of the batch’s values - flight_data_from_arrow_schemaDeprecatedConvert a
Schema
toFlightData
by converting to an IPC message - Convert
FlightData
(with supplied schema and dictionaries) to an arrowRecordBatch
. - Convert a slice of wire protocol
FlightData
s into a vector ofRecordBatch
es - flight_schema_from_arrow_schemaDeprecatedConvert a
Schema
toSchemaResult
by converting to an IPC message - ipc_message_from_arrow_schemaDeprecatedConvert a
Schema
to bytes in the format expected inFlightInfo.schema