Struct parquet::decoding::DeltaBitPackDecoder [−][src]
pub struct DeltaBitPackDecoder<T: DataType> { /* fields omitted */ }
Delta binary packed decoder.
Supports INT32 and INT64 types.
See DeltaBitPackEncoder for more information.
Methods
impl<T: DataType> DeltaBitPackDecoder<T>[src]
impl<T: DataType> DeltaBitPackDecoder<T>pub fn new() -> Self[src]
pub fn new() -> SelfCreates new delta bit packed decoder.
pub fn get_offset(&self) -> usize[src]
pub fn get_offset(&self) -> usizeReturns underlying bit reader offset.
Trait Implementations
impl<T: DataType> Decoder<T> for DeltaBitPackDecoder<T>[src]
impl<T: DataType> Decoder<T> for DeltaBitPackDecoder<T>fn set_data(&mut self, data: ByteBufferPtr, _: usize) -> Result<()>[src]
fn set_data(&mut self, data: ByteBufferPtr, _: usize) -> Result<()>Sets the data to decode to be data, which should contain num_values of values to decode. Read more
fn get(&mut self, buffer: &mut [T::T]) -> Result<usize>[src]
fn get(&mut self, buffer: &mut [T::T]) -> Result<usize>Consumes values from this decoder and write the results to buffer. This will try to fill up buffer. Read more
fn values_left(&self) -> usize[src]
fn values_left(&self) -> usizeReturns the number of values left in this decoder stream.
fn encoding(&self) -> Encoding[src]
fn encoding(&self) -> EncodingReturns the encoding for this decoder.
Auto Trait Implementations
impl<T> !Send for DeltaBitPackDecoder<T>
impl<T> !Send for DeltaBitPackDecoder<T>impl<T> !Sync for DeltaBitPackDecoder<T>
impl<T> !Sync for DeltaBitPackDecoder<T>