Struct datafusion::common::arrow::ipc::writer::IpcWriteOptions
source · pub struct IpcWriteOptions { /* private fields */ }
Expand description
IPC write options used to control the behaviour of the IpcDataGenerator
Implementations§
source§impl IpcWriteOptions
impl IpcWriteOptions
sourcepub fn try_with_compression(
self,
batch_compression_type: Option<CompressionType>
) -> Result<IpcWriteOptions, ArrowError>
pub fn try_with_compression( self, batch_compression_type: Option<CompressionType> ) -> Result<IpcWriteOptions, ArrowError>
Configures compression when writing IPC files.
Will result in a runtime error if the corresponding feature is not enabled
sourcepub fn try_new(
alignment: usize,
write_legacy_ipc_format: bool,
metadata_version: MetadataVersion
) -> Result<IpcWriteOptions, ArrowError>
pub fn try_new( alignment: usize, write_legacy_ipc_format: bool, metadata_version: MetadataVersion ) -> Result<IpcWriteOptions, ArrowError>
Try create IpcWriteOptions, checking for incompatible settings
Trait Implementations§
source§impl Clone for IpcWriteOptions
impl Clone for IpcWriteOptions
source§fn clone(&self) -> IpcWriteOptions
fn clone(&self) -> IpcWriteOptions
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 IpcWriteOptions
impl Debug for IpcWriteOptions
source§impl Default for IpcWriteOptions
impl Default for IpcWriteOptions
source§fn default() -> IpcWriteOptions
fn default() -> IpcWriteOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IpcWriteOptions
impl RefUnwindSafe for IpcWriteOptions
impl Send for IpcWriteOptions
impl Sync for IpcWriteOptions
impl Unpin for IpcWriteOptions
impl UnwindSafe for IpcWriteOptions
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> 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