Struct parquet::encoding::RleValueEncoder[][src]

pub struct RleValueEncoder<T: DataType> { /* fields omitted */ }

RLE/Bit-Packing hybrid encoding for values. Currently is used only for data pages v2 and supports boolean types.

Methods

impl<T: DataType> RleValueEncoder<T>
[src]

Creates new rle value encoder.

Trait Implementations

impl<T: DataType> Encoder<T> for RleValueEncoder<T>
[src]

Encodes data from values.

Returns the encoding type of this encoder.

Flushes the underlying byte buffer that's being processed by this encoder, and return the immutable copy of it. This will also reset the internal state. Read more

impl Encoder<BoolType> for RleValueEncoder<BoolType>
[src]

Encodes data from values.

Flushes the underlying byte buffer that's being processed by this encoder, and return the immutable copy of it. This will also reset the internal state. Read more

Returns the encoding type of this encoder.

Auto Trait Implementations

impl<T> Send for RleValueEncoder<T> where
    T: Send

impl<T> Sync for RleValueEncoder<T> where
    T: Sync