Module schema

Module schema 

Source
Expand description

Core schema traits for compile-time Arrow typing.

Re-exports§

pub use crate::error::SchemaError;
pub use crate::error::ViewAccessError;

Structs§

FieldMeta
Simple compile-time column metadata passed to visitors.

Traits§

AppendStruct
Trait implemented by #[derive(Record)] structs to append their fields into a StructBuilder. Used by row-based APIs to handle nested struct fields.
AppendStructRef
Trait implemented by #[derive(Record)] structs to append their fields into a StructBuilder from a borrowed reference. This enables container builders (e.g., lists of structs) to append child values without taking ownership of the struct.
BuildRows
Row-based building interface: construct typed column builders, append owned rows, and finish into typed arrays.
ColAt
Per-column metadata for a record at index I.
ColumnVisitor
A visitor invoked at compile time for each column of a Record.
ForEachCol
Trait emitted by derive/macro to enable for_each_col expansion.
FromRecordBatch
Trait for creating zero-copy views over a RecordBatch.
IntoRecordBatch
Trait implemented by derive-generated arrays to assemble a RecordBatch.
Record
A record (row) with a fixed, compile-time number of columns.
RowBuilder
Trait implemented by derive-generated builders to append rows of Row and finish into a typed arrays struct.
SchemaMeta
Arrow runtime schema metadata for a top-level Record.
StructMeta
Metadata and builder utilities for nested Struct fields.
StructView
Trait for creating a view from a StructArray at a specific index.
ViewResultIteratorExt
Extension trait providing convenience methods for iterators over Result<T, ViewAccessError>.