Struct parquet::decoding::PlainDecoder [−][src]
pub struct PlainDecoder<T: DataType> { /* fields omitted */ }
Expand description
Plain decoding that supports all types.
Values are encoded back to back. For native types, data is encoded as little endian.
Floating point types are encoded in IEEE.
See PlainEncoder
for more information.
Implementations
impl<T: DataType> PlainDecoder<T>
[src]
impl<T: DataType> PlainDecoder<T>
[src]Trait Implementations
impl<T: DataType> Decoder<T> for PlainDecoder<T>
[src]
impl<T: DataType> Decoder<T> for PlainDecoder<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 PlainDecoder<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for PlainDecoder<T> where
T: Send,
T: Send,
impl<T> Sync for PlainDecoder<T> where
T: Sync,
T: Sync,
impl<T> Unpin for PlainDecoder<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for PlainDecoder<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>,