Struct parquet::decoding::DeltaLengthByteArrayDecoder [−][src]
pub struct DeltaLengthByteArrayDecoder<T: DataType> { /* fields omitted */ }
Expand description
Delta length byte array decoder.
Only applied to byte arrays to separate the length values and the data, the lengths
are encoded using DELTA_BINARY_PACKED encoding.
See DeltaLengthByteArrayEncoder
for more information.
Implementations
impl<T: DataType> DeltaLengthByteArrayDecoder<T>
[src]
impl<T: DataType> DeltaLengthByteArrayDecoder<T>
[src]Trait Implementations
impl<T: DataType> Decoder<T> for DeltaLengthByteArrayDecoder<T>
[src]
impl<T: DataType> Decoder<T> for DeltaLengthByteArrayDecoder<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 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 DeltaLengthByteArrayDecoder<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for DeltaLengthByteArrayDecoder<T> where
T: Send,
T: Send,
impl<T> Sync for DeltaLengthByteArrayDecoder<T> where
T: Sync,
T: Sync,
impl<T> Unpin for DeltaLengthByteArrayDecoder<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for DeltaLengthByteArrayDecoder<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>,