Module polars_arrow::io::flight
source · 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§
- WriteOptions
io_ipc
Options declaring the behaviour of writing to IPC
Functions§
- Deserializes
FlightData
representing a record batch message toRecordBatchT
. - Deserializes
FlightData
, assuming it to be a dictionary message, intodictionaries
. - Deserializes
FlightData
into either aRecordBatchT
(when the message is a record batch) or by upserting intodictionaries
(when the message is a dictionary) - Deserialize an IPC message into
ArrowSchema
,IpcSchema
. Use to deserializeFlightData::data_header
andSchemaResult::schema
. - Serializes
RecordBatchT
to a vector ofFlightData
representing the serialized dictionaries and aFlightData
representing the batch. - Serializes a
ArrowSchema
toFlightData
. - Convert a
ArrowSchema
to bytes in the format expected inarrow_format::flight::data::FlightInfo
. - Serializes a
ArrowSchema
toSchemaResult
.