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 (const: unstable) · 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
impl Copy 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
impl Eq for DFParquetWriterVersion
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) -> DFParquetWriterVersion
fn from(version: WriterVersion) -> DFParquetWriterVersion
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§type Err = DataFusionError
type Err = DataFusionError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<DFParquetWriterVersion, <DFParquetWriterVersion as FromStr>::Err>
fn from_str( s: &str, ) -> Result<DFParquetWriterVersion, <DFParquetWriterVersion as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl PartialEq for DFParquetWriterVersion
impl PartialEq for DFParquetWriterVersion
Source§fn eq(&self, other: &DFParquetWriterVersion) -> bool
fn eq(&self, other: &DFParquetWriterVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin for DFParquetWriterVersion
impl UnwindSafe for DFParquetWriterVersion
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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