Struct parquet::decoding::PlainDecoder[][src]

pub struct PlainDecoder<T: DataType> { /* fields omitted */ }

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 PlainDecoder for more information.

Methods

impl<T: DataType> PlainDecoder<T>
[src]

Creates new plain decoder.

Trait Implementations

impl<T: DataType> Decoder<T> for PlainDecoder<T>
[src]

Sets the data to decode to be data, which should contain num_values of values to decode. Read more

Returns the number of values left in this decoder stream.

Returns the encoding for this decoder.

Consumes values from this decoder and write the results to buffer. This will try to fill up buffer. Read more

impl Decoder<Int96Type> for PlainDecoder<Int96Type>
[src]

Consumes values from this decoder and write the results to buffer. This will try to fill up buffer. Read more

Sets the data to decode to be data, which should contain num_values of values to decode. Read more

Returns the number of values left in this decoder stream.

Returns the encoding for this decoder.

impl Decoder<BoolType> for PlainDecoder<BoolType>
[src]

Sets the data to decode to be data, which should contain num_values of values to decode. Read more

Consumes values from this decoder and write the results to buffer. This will try to fill up buffer. Read more

Returns the number of values left in this decoder stream.

Returns the encoding for this decoder.

impl Decoder<ByteArrayType> for PlainDecoder<ByteArrayType>
[src]

Consumes values from this decoder and write the results to buffer. This will try to fill up buffer. Read more

Sets the data to decode to be data, which should contain num_values of values to decode. Read more

Returns the number of values left in this decoder stream.

Returns the encoding for this decoder.

impl Decoder<FixedLenByteArrayType> for PlainDecoder<FixedLenByteArrayType>
[src]

Consumes values from this decoder and write the results to buffer. This will try to fill up buffer. Read more

Sets the data to decode to be data, which should contain num_values of values to decode. Read more

Returns the number of values left in this decoder stream.

Returns the encoding for this decoder.

Auto Trait Implementations

impl<T> !Send for PlainDecoder<T>

impl<T> !Sync for PlainDecoder<T>