pub enum CompressionOptions {
Uncompressed,
Snappy,
Gzip(Option<GzipLevel>),
Lzo,
Brotli(Option<BrotliLevel>),
Lz4,
Zstd(Option<ZstdLevel>),
Lz4Raw,
}
Available on crate feature
io_parquet
only.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
impl Clone for CompressionOptions
impl Clone for CompressionOptions
fn clone(&self) -> CompressionOptions
fn clone(&self) -> CompressionOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for CompressionOptions
impl Debug for CompressionOptions
impl Hash for CompressionOptions
impl Hash for CompressionOptions
impl PartialEq<CompressionOptions> for CompressionOptions
impl PartialEq<CompressionOptions> for CompressionOptions
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 ==
. Read more
impl Copy for CompressionOptions
impl Eq for CompressionOptions
impl StructuralEq for CompressionOptions
impl StructuralPartialEq for CompressionOptions
Auto Trait Implementations
impl RefUnwindSafe for CompressionOptions
impl Send for CompressionOptions
impl Sync for CompressionOptions
impl Unpin for CompressionOptions
impl UnwindSafe for CompressionOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.