Struct parquet::encoding::DeltaLengthByteArrayEncoder[][src]

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

Encoding for byte arrays to separate the length values and the data. The lengths are encoded using DELTA_BINARY_PACKED encoding, data is stored as raw bytes.

Methods

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

Creates new delta length byte array encoder.

Trait Implementations

impl<T: DataType> Encoder<T> for DeltaLengthByteArrayEncoder<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<ByteArrayType> for DeltaLengthByteArrayEncoder<ByteArrayType>
[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 DeltaLengthByteArrayEncoder<T>

impl<T> !Sync for DeltaLengthByteArrayEncoder<T>