parquet::arrow::arrow_writer::byte_array

Function encode

Source
fn encode<T>(values: T, indices: &[usize], encoder: &mut ByteArrayEncoder)
where T: ArrayAccessor + Copy, T::Item: Copy + Ord + AsRef<[u8]>,
Expand description

Encodes the provided values and indices to encoder

This is a free function so it can be used with downcast_op!