Enum parquet2::compression::CompressionOptions
source · pub enum CompressionOptions {
Uncompressed,
Snappy,
Gzip(Option<GzipLevel>),
Lzo,
Brotli(Option<BrotliLevel>),
Lz4,
Zstd(Option<ZstdLevel>),
Lz4Raw,
}
Expand description
Defines the compression settings for writing a parquet file.
If None is provided as a compression setting, then the default compression level is used.
Variants§
Uncompressed
Snappy
Gzip(Option<GzipLevel>)
Lzo
Brotli(Option<BrotliLevel>)
Lz4
Zstd(Option<ZstdLevel>)
Lz4Raw
Trait Implementations§
source§impl Clone for CompressionOptions
impl Clone for CompressionOptions
source§fn clone(&self) -> CompressionOptions
fn clone(&self) -> CompressionOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CompressionOptions
impl Debug for CompressionOptions
source§impl From<CompressionOptions> for Compression
impl From<CompressionOptions> for Compression
source§fn from(value: CompressionOptions) -> Self
fn from(value: CompressionOptions) -> Self
Converts to this type from the input type.
source§impl From<CompressionOptions> for CompressionCodec
impl From<CompressionOptions> for CompressionCodec
source§fn from(codec: CompressionOptions) -> Self
fn from(codec: CompressionOptions) -> Self
Converts to this type from the input type.
source§impl Hash for CompressionOptions
impl Hash for CompressionOptions
source§impl PartialEq<CompressionOptions> for CompressionOptions
impl PartialEq<CompressionOptions> for CompressionOptions
source§fn eq(&self, other: &CompressionOptions) -> bool
fn eq(&self, other: &CompressionOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.