Struct parquet::decoding::DeltaLengthByteArrayDecoder [−][src]
pub struct DeltaLengthByteArrayDecoder<T: DataType> { /* fields omitted */ }
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.
Methods
impl<T: DataType> DeltaLengthByteArrayDecoder<T>
[src]
impl<T: DataType> DeltaLengthByteArrayDecoder<T>
Trait Implementations
impl<T: DataType> Decoder<T> for DeltaLengthByteArrayDecoder<T>
[src]
impl<T: DataType> Decoder<T> for DeltaLengthByteArrayDecoder<T>
fn set_data(&mut self, _: ByteBufferPtr, _: usize) -> Result<()>
[src]
fn set_data(&mut self, _: 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, _: &mut [T::T]) -> Result<usize>
[src]
fn get(&mut self, _: &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) -> usize
Returns the number of values left in this decoder stream.
fn encoding(&self) -> Encoding
[src]
fn encoding(&self) -> Encoding
Returns the encoding for this decoder.
impl Decoder<ByteArrayType> for DeltaLengthByteArrayDecoder<ByteArrayType>
[src]
impl Decoder<ByteArrayType> for DeltaLengthByteArrayDecoder<ByteArrayType>
fn set_data(&mut self, data: ByteBufferPtr, num_values: usize) -> Result<()>
[src]
fn set_data(&mut self, data: ByteBufferPtr, num_values: 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 [ByteArray]) -> Result<usize>
[src]
fn get(&mut self, buffer: &mut [ByteArray]) -> 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) -> usize
Returns the number of values left in this decoder stream.
fn encoding(&self) -> Encoding
[src]
fn encoding(&self) -> Encoding
Returns the encoding for this decoder.
Auto Trait Implementations
impl<T> !Send for DeltaLengthByteArrayDecoder<T>
impl<T> !Send for DeltaLengthByteArrayDecoder<T>
impl<T> !Sync for DeltaLengthByteArrayDecoder<T>
impl<T> !Sync for DeltaLengthByteArrayDecoder<T>