Struct parquet::decoding::DeltaBitPackDecoder [−][src]
pub struct DeltaBitPackDecoder<T: DataType> { /* fields omitted */ }
Expand description
Delta binary packed decoder.
Supports INT32 and INT64 types.
See DeltaBitPackEncoder
for more
information.
Implementations
impl<T: DataType> DeltaBitPackDecoder<T>
[src]
impl<T: DataType> DeltaBitPackDecoder<T>
[src]pub fn get_offset(&self) -> usize
[src]
pub fn get_offset(&self) -> usize
[src]Returns underlying bit reader offset.
Trait Implementations
impl<T: DataType> Decoder<T> for DeltaBitPackDecoder<T>
[src]
impl<T: DataType> Decoder<T> for DeltaBitPackDecoder<T>
[src]fn set_data(&mut self, data: ByteBufferPtr, _index: usize) -> Result<()>
[src]
fn set_data(&mut self, data: ByteBufferPtr, _index: usize) -> Result<()>
[src]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>
[src]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) -> usize
[src]Returns the number of values left in this decoder stream.
Auto Trait Implementations
impl<T> RefUnwindSafe for DeltaBitPackDecoder<T> where
T: RefUnwindSafe,
<T as DataType>::T: RefUnwindSafe,
T: RefUnwindSafe,
<T as DataType>::T: RefUnwindSafe,
impl<T> Send for DeltaBitPackDecoder<T> where
T: Send,
<T as DataType>::T: Send,
T: Send,
<T as DataType>::T: Send,
impl<T> Sync for DeltaBitPackDecoder<T> where
T: Sync,
<T as DataType>::T: Sync,
T: Sync,
<T as DataType>::T: Sync,
impl<T> Unpin for DeltaBitPackDecoder<T> where
T: Unpin,
<T as DataType>::T: Unpin,
T: Unpin,
<T as DataType>::T: Unpin,
impl<T> UnwindSafe for DeltaBitPackDecoder<T> where
T: UnwindSafe,
<T as DataType>::T: UnwindSafe,
T: UnwindSafe,
<T as DataType>::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>,