pub struct ArrowSchemaOptions { /* private fields */ }Expand description
Builder for configuring Arrow schema conversion options.
Implementations§
Source§impl ArrowSchemaOptions
impl ArrowSchemaOptions
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new options builder with default values.
- Timestamp precision is
TimestampPrecision::Nanosecond
Sourcepub fn with_timestamp_precision(self, precision: TimestampPrecision) -> Self
pub fn with_timestamp_precision(self, precision: TimestampPrecision) -> Self
Set the timestamp precision for converting ORC timestamps to Arrow.
ORC timestamps have nanosecond precision, but you may want to convert them to microseconds for compatibility with systems that don’t support nanosecond precision.
Default: TimestampPrecision::Nanosecond
Trait Implementations§
Source§impl Clone for ArrowSchemaOptions
impl Clone for ArrowSchemaOptions
Source§fn clone(&self) -> ArrowSchemaOptions
fn clone(&self) -> ArrowSchemaOptions
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 moreSource§impl Debug for ArrowSchemaOptions
impl Debug for ArrowSchemaOptions
Auto Trait Implementations§
impl Freeze for ArrowSchemaOptions
impl RefUnwindSafe for ArrowSchemaOptions
impl Send for ArrowSchemaOptions
impl Sync for ArrowSchemaOptions
impl Unpin for ArrowSchemaOptions
impl UnwindSafe for ArrowSchemaOptions
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