Struct parquet::encoding::DeltaByteArrayEncoder [−][src]
pub struct DeltaByteArrayEncoder<T: DataType> { /* fields omitted */ }
Encoding for byte arrays, prefix lengths are encoded using DELTA_BINARY_PACKED encoding, followed by suffixes with DELTA_LENGTH_BYTE_ARRAY encoding.
Methods
impl<T: DataType> DeltaByteArrayEncoder<T>[src]
impl<T: DataType> DeltaByteArrayEncoder<T>Trait Implementations
impl<T: DataType> Encoder<T> for DeltaByteArrayEncoder<T>[src]
impl<T: DataType> Encoder<T> for DeltaByteArrayEncoder<T>fn put(&mut self, _values: &[T::T]) -> Result<()>[src]
fn put(&mut self, _values: &[T::T]) -> Result<()>Encodes data from values.
fn encoding(&self) -> Encoding[src]
fn encoding(&self) -> EncodingReturns the encoding type of this encoder.
fn flush_buffer(&mut self) -> Result<ByteBufferPtr>[src]
fn flush_buffer(&mut self) -> Result<ByteBufferPtr>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 DeltaByteArrayEncoder<ByteArrayType>[src]
impl Encoder<ByteArrayType> for DeltaByteArrayEncoder<ByteArrayType>fn put(&mut self, values: &[ByteArray]) -> Result<()>[src]
fn put(&mut self, values: &[ByteArray]) -> Result<()>Encodes data from values.
fn flush_buffer(&mut self) -> Result<ByteBufferPtr>[src]
fn flush_buffer(&mut self) -> Result<ByteBufferPtr>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
fn encoding(&self) -> Encoding[src]
fn encoding(&self) -> EncodingReturns the encoding type of this encoder.
Auto Trait Implementations
impl<T> !Send for DeltaByteArrayEncoder<T>
impl<T> !Send for DeltaByteArrayEncoder<T>impl<T> !Sync for DeltaByteArrayEncoder<T>
impl<T> !Sync for DeltaByteArrayEncoder<T>