Expand description
§Schema Module - Arrow’s schema type for cross-FFI compatibility
Contains the Schema type for Arrow FFI compatibility.
§Overview
- Stores a list of
Fielddefinitions and optional metadata. - Used when constructing
RecordBatchfor Arrow C-FFI. - In Minarrow,
FieldArrayis preferred for typical usage since it holds theFielddirectly.
§Design
- Exists only in the FFI module to support external Arrow interoperability.
- The
Tablestructure embeds field definitions directly to avoid additional indirection.
§Usage
- Construct directly with
Schema::new(fields, metadata). - Or convert from
Vec<Field>usingSchema::from.
Structs§
- Schema
- Schema