pub fn new_serializer<'a>(
    array: &'a dyn Array,
    schema: &AvroSchema
) -> BoxSerializer<'a>
Available on crate feature io_avro only.
Expand description

Creates a StreamingIterator trait object that presents items from array encoded according to schema.

Panic

This function panics iff the data_type is not supported (use can_serialize to check)

Implementation

This function performs minimal CPU work: it dynamically dispatches based on the schema and arrow type.