pub enum DFParquetWriterVersion {
V1_0,
V2_0,
}Expand description
Parquet writer version options for controlling the Parquet file format version
This enum validates parquet writer version values at configuration time,
ensuring only valid versions (“1.0” or “2.0”) can be set via SET commands
or proto deserialization.
Variants§
Trait Implementations§
Source§impl Clone for DFParquetWriterVersion
impl Clone for DFParquetWriterVersion
Source§fn clone(&self) -> DFParquetWriterVersion
fn clone(&self) -> DFParquetWriterVersion
Returns a duplicate 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 ConfigField for DFParquetWriterVersion
impl ConfigField for DFParquetWriterVersion
Source§impl Debug for DFParquetWriterVersion
impl Debug for DFParquetWriterVersion
Source§impl Default for DFParquetWriterVersion
impl Default for DFParquetWriterVersion
Source§fn default() -> DFParquetWriterVersion
fn default() -> DFParquetWriterVersion
Returns the “default value” for a type. Read more
Source§impl Display for DFParquetWriterVersion
impl Display for DFParquetWriterVersion
Source§impl From<DFParquetWriterVersion> for WriterVersion
Available on crate feature parquet only.Convert DFParquetWriterVersion to parquet crate’s WriterVersion
impl From<DFParquetWriterVersion> for WriterVersion
Available on crate feature
parquet only.Convert DFParquetWriterVersion to parquet crate’s WriterVersion
This conversion is infallible since DFParquetWriterVersion only contains
valid values that have been validated at configuration time.
Source§fn from(value: DFParquetWriterVersion) -> Self
fn from(value: DFParquetWriterVersion) -> Self
Converts to this type from the input type.
Source§impl From<WriterVersion> for DFParquetWriterVersion
Available on crate feature parquet only.Convert parquet crate’s WriterVersion to DFParquetWriterVersion
impl From<WriterVersion> for DFParquetWriterVersion
Available on crate feature
parquet only.Convert parquet crate’s WriterVersion to DFParquetWriterVersion
This is used when converting from existing parquet writer properties, such as when reading from proto or test code.
Source§fn from(version: WriterVersion) -> Self
fn from(version: WriterVersion) -> Self
Converts to this type from the input type.
Source§impl FromStr for DFParquetWriterVersion
Implement parsing strings to DFParquetWriterVersion
impl FromStr for DFParquetWriterVersion
Implement parsing strings to DFParquetWriterVersion
Source§impl PartialEq for DFParquetWriterVersion
impl PartialEq for DFParquetWriterVersion
impl Copy for DFParquetWriterVersion
impl Eq for DFParquetWriterVersion
impl StructuralPartialEq for DFParquetWriterVersion
Auto Trait Implementations§
impl Freeze for DFParquetWriterVersion
impl RefUnwindSafe for DFParquetWriterVersion
impl Send for DFParquetWriterVersion
impl Sync for DFParquetWriterVersion
impl Unpin for DFParquetWriterVersion
impl UnwindSafe for DFParquetWriterVersion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more