Skip to main content

Module custom

Module custom 

Source
Expand description

Custom data: registration and dynamic decoding.

Structs§

CustomDataDecoder
Decoder for custom data types that are identified at runtime by metadata (e.g. type_name).

Traits§

CustomDataSerialize
Trait for custom data types that support Arrow schema and record batch encoding. Used as a type bound by the #[custom_data] macro; catalog encoding goes through the registry, not this trait directly.

Functions§

ensure_custom_data_registered
Registers a custom data type in the JSON and Arrow registries. Call once per type (e.g. at catalog decode or before querying custom data).