pub struct ParquetWriterBuilder { /* private fields */ }Expand description
ParquetWriterBuilder is used to builder a ParquetWriter
Implementations§
Source§impl ParquetWriterBuilder
impl ParquetWriterBuilder
Sourcepub fn new(props: WriterProperties, schema: SchemaRef) -> Self
pub fn new(props: WriterProperties, schema: SchemaRef) -> Self
Create a new ParquetWriterBuilder
To construct the write result, the schema should contain the PARQUET_FIELD_ID_META_KEY metadata for each field.
Sourcepub fn new_with_match_mode(
props: WriterProperties,
schema: SchemaRef,
match_mode: FieldMatchMode,
) -> Self
pub fn new_with_match_mode( props: WriterProperties, schema: SchemaRef, match_mode: FieldMatchMode, ) -> Self
Create a new ParquetWriterBuilder with custom match mode
Trait Implementations§
Source§impl Clone for ParquetWriterBuilder
impl Clone for ParquetWriterBuilder
Source§fn clone(&self) -> ParquetWriterBuilder
fn clone(&self) -> ParquetWriterBuilder
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 ParquetWriterBuilder
impl Debug for ParquetWriterBuilder
Source§impl FileWriterBuilder for ParquetWriterBuilder
impl FileWriterBuilder for ParquetWriterBuilder
Source§type R = ParquetWriter
type R = ParquetWriter
The associated file writer type.
Auto Trait Implementations§
impl Freeze for ParquetWriterBuilder
impl RefUnwindSafe for ParquetWriterBuilder
impl Send for ParquetWriterBuilder
impl Sync for ParquetWriterBuilder
impl Unpin for ParquetWriterBuilder
impl UnwindSafe for ParquetWriterBuilder
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,
§impl<T> Downcast for Twhere
T: AsAny + ?Sized,
impl<T> Downcast for Twhere
T: AsAny + ?Sized,
§fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
Forward to the method defined on the type
Any.§fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
Forward to the method defined on the type
Any.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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