[][src]Enum parquet_format::CompressionCodec

pub enum CompressionCodec {
    Uncompressed,
    Snappy,
    Gzip,
    Lzo,
    Brotli,
    Lz4,
    Zstd,
}

Supported compression algorithms.

Codecs added in 2.4 can be read by readers based on 2.4 and later. Codec support may vary between readers based on the format version and libraries available at runtime. Gzip, Snappy, and LZ4 codecs are widely available, while Zstd and Brotli require additional libraries.

Variants

Uncompressed
Snappy
Gzip
Lzo
Brotli
Lz4
Zstd

Implementations

impl CompressionCodec[src]

pub fn write_to_out_protocol(
    &self,
    o_prot: &mut dyn TOutputProtocol
) -> Result<()>
[src]

pub fn read_from_in_protocol(
    i_prot: &mut dyn TInputProtocol
) -> Result<CompressionCodec>
[src]

Trait Implementations

impl Clone for CompressionCodec[src]

impl Copy for CompressionCodec[src]

impl Debug for CompressionCodec[src]

impl Eq for CompressionCodec[src]

impl Hash for CompressionCodec[src]

impl Ord for CompressionCodec[src]

impl PartialEq<CompressionCodec> for CompressionCodec[src]

impl PartialOrd<CompressionCodec> for CompressionCodec[src]

impl StructuralEq for CompressionCodec[src]

impl StructuralPartialEq for CompressionCodec[src]

impl TryFrom<i32> for CompressionCodec[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.