pub fn new_serializer<'a>(
array: &'a dyn Array,
schema: &Schema,
) -> 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 dtype
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.