arrow_json::reader

Trait ArrayDecoder

source
trait ArrayDecoder: Send {
    // Required method
    fn decode(
        &mut self,
        tape: &Tape<'_>,
        pos: &[u32],
    ) -> Result<ArrayData, ArrowError>;
}

Required Methods§

source

fn decode( &mut self, tape: &Tape<'_>, pos: &[u32], ) -> Result<ArrayData, ArrowError>

Decode elements from tape starting at the indexes contained in pos

Implementors§

source§

impl ArrayDecoder for BooleanArrayDecoder

source§

impl ArrayDecoder for MapArrayDecoder

source§

impl ArrayDecoder for NullArrayDecoder

source§

impl ArrayDecoder for StructArrayDecoder

source§

impl<D> ArrayDecoder for DecimalArrayDecoder<D>
where D: DecimalType,

source§

impl<O: OffsetSizeTrait> ArrayDecoder for ListArrayDecoder<O>

source§

impl<O: OffsetSizeTrait> ArrayDecoder for StringArrayDecoder<O>

source§

impl<P> ArrayDecoder for PrimitiveArrayDecoder<P>
where P: ArrowPrimitiveType + Parser, P::Native: ParseJsonNumber + NumCast,

source§

impl<P, Tz> ArrayDecoder for TimestampArrayDecoder<P, Tz>
where P: ArrowTimestampType, Tz: TimeZone + Send,