Struct parquet::decoding::RleValueDecoder [−][src]
pub struct RleValueDecoder<T: DataType> { /* fields omitted */ }
Expand description
RLE/Bit-Packing hybrid decoding for values.
Currently is used only for data pages v2 and supports boolean types.
See RleValueEncoder
for more information.
Implementations
impl<T: DataType> RleValueDecoder<T>
[src]
impl<T: DataType> RleValueDecoder<T>
[src]Trait Implementations
impl<T: DataType> Decoder<T> for RleValueDecoder<T>
[src]
impl<T: DataType> Decoder<T> for RleValueDecoder<T>
[src]fn set_data(&mut self, data: ByteBufferPtr, num_values: usize) -> Result<()>
[src]
fn set_data(&mut self, data: ByteBufferPtr, num_values: usize) -> Result<()>
[src]Sets the data to decode to be data
, which should contain num_values
of values
to decode. Read more
fn values_left(&self) -> usize
[src]
fn values_left(&self) -> usize
[src]Returns the number of values left in this decoder stream.
Auto Trait Implementations
impl<T> RefUnwindSafe for RleValueDecoder<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for RleValueDecoder<T> where
T: Send,
T: Send,
impl<T> Sync for RleValueDecoder<T> where
T: Sync,
T: Sync,
impl<T> Unpin for RleValueDecoder<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for RleValueDecoder<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>,