Struct IpcWriteOptions
pub struct IpcWriteOptions {
alignment: u8,
write_legacy_ipc_format: bool,
metadata_version: MetadataVersion,
batch_compression_type: Option<CompressionType>,
dictionary_handling: DictionaryHandling,
}Expand description
IPC write options used to control the behaviour of the IpcDataGenerator
Fields§
§alignment: u8§write_legacy_ipc_format: bool§metadata_version: MetadataVersion§batch_compression_type: Option<CompressionType>§dictionary_handling: DictionaryHandlingImplementations§
§impl IpcWriteOptions
impl IpcWriteOptions
pub 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
pub 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 to create IpcWriteOptions, checking for incompatible settings
pub fn with_dictionary_handling(
self,
dictionary_handling: DictionaryHandling,
) -> IpcWriteOptions
pub fn with_dictionary_handling( self, dictionary_handling: DictionaryHandling, ) -> IpcWriteOptions
Configure how dictionaries are handled in IPC messages
Trait Implementations§
§impl Clone for IpcWriteOptions
impl Clone for IpcWriteOptions
§fn clone(&self) -> IpcWriteOptions
fn clone(&self) -> IpcWriteOptions
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 more§impl Debug for IpcWriteOptions
impl Debug for IpcWriteOptions
§impl Default for IpcWriteOptions
impl Default for IpcWriteOptions
§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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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