Struct parquet::arrow::arrow_writer::ArrowWriterOptions
source · pub struct ArrowWriterOptions { /* private fields */ }
Expand description
Arrow-specific configuration settings for writing parquet files.
See ArrowWriter
for how to configure the writer.
Implementations§
source§impl ArrowWriterOptions
impl ArrowWriterOptions
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new ArrowWriterOptions
with the default settings.
sourcepub fn with_properties(self, properties: WriterProperties) -> Self
pub fn with_properties(self, properties: WriterProperties) -> Self
Sets the WriterProperties
for writing parquet files.
sourcepub fn with_skip_arrow_metadata(self, skip_arrow_metadata: bool) -> Self
pub fn with_skip_arrow_metadata(self, skip_arrow_metadata: bool) -> Self
Skip encoding the embedded arrow metadata (defaults to false
)
Parquet files generated by the ArrowWriter
contain embedded arrow schema
by default.
Set skip_arrow_metadata
to true, to skip encoding the embedded metadata.
sourcepub fn with_schema_root(self, name: String) -> Self
pub fn with_schema_root(self, name: String) -> Self
Set the name of the root parquet schema element (defaults to "arrow_schema"
)
Trait Implementations§
source§impl Clone for ArrowWriterOptions
impl Clone for ArrowWriterOptions
source§fn clone(&self) -> ArrowWriterOptions
fn clone(&self) -> ArrowWriterOptions
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 ArrowWriterOptions
impl Debug for ArrowWriterOptions
source§impl Default for ArrowWriterOptions
impl Default for ArrowWriterOptions
source§fn default() -> ArrowWriterOptions
fn default() -> ArrowWriterOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ArrowWriterOptions
impl RefUnwindSafe for ArrowWriterOptions
impl Send for ArrowWriterOptions
impl Sync for ArrowWriterOptions
impl Unpin for ArrowWriterOptions
impl UnwindSafe for ArrowWriterOptions
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)