Struct parquet_format_async_temp::CompressionCodec [−][src]
pub struct CompressionCodec(pub i32);
Expand description
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.
Tuple Fields
0: i32
Implementations
pub async fn write_to_out_stream_protocol(
&self,
o_prot: &mut dyn TOutputStreamProtocol
) -> Result<usize>
pub async fn stream_from_in_protocol(
i_prot: &mut dyn TInputStreamProtocol
) -> Result<CompressionCodec>
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CompressionCodec
impl Send for CompressionCodec
impl Sync for CompressionCodec
impl Unpin for CompressionCodec
impl UnwindSafe for CompressionCodec
Blanket Implementations
Mutably borrows from an owned value. Read more