Struct parquet::encoding::RleValueEncoder [−][src]
pub struct RleValueEncoder<T: DataType> { /* fields omitted */ }
Expand description
RLE/Bit-Packing hybrid encoding for values. Currently is used only for data pages v2 and supports boolean types.
Implementations
impl<T: DataType> RleValueEncoder<T>
[src]
impl<T: DataType> RleValueEncoder<T>
[src]Trait Implementations
impl<T: DataType> Encoder<T> for RleValueEncoder<T>
[src]
impl<T: DataType> Encoder<T> for RleValueEncoder<T>
[src]fn estimated_data_encoded_size(&self) -> usize
[src]
fn estimated_data_encoded_size(&self) -> usize
[src]Returns an estimate of the encoded data, in bytes. Method call must be O(1). Read more
fn flush_buffer(&mut self) -> Result<ByteBufferPtr>
[src]
fn flush_buffer(&mut self) -> Result<ByteBufferPtr>
[src]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
Auto Trait Implementations
impl<T> RefUnwindSafe for RleValueEncoder<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for RleValueEncoder<T> where
T: Send,
T: Send,
impl<T> Sync for RleValueEncoder<T> where
T: Sync,
T: Sync,
impl<T> Unpin for RleValueEncoder<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for RleValueEncoder<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,