Module arrow_flight::utils
source · Expand description
Utilities to assist with reading and writing Arrow data as Flight messages
Functions
- Convert
RecordBatches to wire protocolFlightDatas - flight_data_from_arrow_batchDeprecatedConvert a
RecordBatchto a vector ofFlightDatarepresenting the bytes of the dictionaries and aFlightDatarepresenting the bytes of the batch’s values - flight_data_from_arrow_schemaDeprecatedConvert a
SchematoFlightDataby converting to an IPC message - Convert
FlightData(with supplied schema and dictionaries) to an arrowRecordBatch. - Convert a slice of wire protocol
FlightDatas into a vector ofRecordBatches - flight_schema_from_arrow_schemaDeprecatedConvert a
SchematoSchemaResultby converting to an IPC message - ipc_message_from_arrow_schemaDeprecatedConvert a
Schemato bytes in the format expected inFlightInfo.schema