pub struct ArrowOptions {
pub batch_size: usize,
pub flatten_groups: bool,
pub edited_pic_as: EditedPicRepresentation,
pub emit_filler: bool,
pub emit_meta: bool,
pub compression: Compression,
pub row_group_size: usize,
pub embed_copybook: bool,
pub codepage: Codepage,
pub float_format: FloatFormat,
}Expand description
Options for COBOL-to-Arrow conversion.
Fields§
§batch_size: usizeNumber of records per Arrow RecordBatch (default: 8192)
flatten_groups: boolFlatten group fields to top-level columns (default: true)
edited_pic_as: EditedPicRepresentationHow to represent edited PIC fields in Arrow
emit_filler: boolInclude FILLER fields in output (default: false)
emit_meta: boolInclude metadata column with record info (default: false)
compression: CompressionParquet compression codec
row_group_size: usizeRow group size for Parquet output
embed_copybook: boolEmbed copybook text in Parquet metadata
codepage: CodepageCodepage for character conversion
float_format: FloatFormatFloating-point representation for COMP-1/COMP-2 fields
Trait Implementations§
Source§impl Clone for ArrowOptions
impl Clone for ArrowOptions
Source§fn clone(&self) -> ArrowOptions
fn clone(&self) -> ArrowOptions
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 ArrowOptions
impl Debug for ArrowOptions
Auto Trait Implementations§
impl Freeze for ArrowOptions
impl RefUnwindSafe for ArrowOptions
impl Send for ArrowOptions
impl Sync for ArrowOptions
impl Unpin for ArrowOptions
impl UnsafeUnpin for ArrowOptions
impl UnwindSafe for ArrowOptions
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