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§
- Write
Options io_ipc - Options declaring the behaviour of writing to IPC
Functions§
- deserialize_
batch - Deserializes
FlightDatarepresenting a record batch message toChunk. - deserialize_
dictionary - Deserializes
FlightData, assuming it to be a dictionary message, intodictionaries. - deserialize_
message - Deserializes
FlightDatainto either aChunk(when the message is a record batch) or by upserting intodictionaries(when the message is a dictionary) - deserialize_
schemas - Deserialize an IPC message into
Schema,IpcSchema. Use to deserializeFlightData::data_headerandSchemaResult::schema. - serialize_
batch - Serializes
Chunkto a vector ofFlightDatarepresenting the serialized dictionaries and aFlightDatarepresenting the batch. - serialize_
schema - Serializes a
SchematoFlightData. - serialize_
schema_ to_ info - Convert a
Schemato bytes in the format expected inarrow_format::flight::data::FlightInfo. - serialize_
schema_ to_ result - Serializes a
SchematoSchemaResult.