#[non_exhaustive]pub struct ExportOptions {
pub out_dir: Arc<Path>,
pub row_group_rows: usize,
pub row_group_bytes: usize,
pub compression: CompressionOpt,
pub overwrite: bool,
pub parsed_at_ms: Option<i64>,
pub command_line: Arc<str>,
pub tables: Vec<SecondaryTable>,
}Expand description
Options for Exporter::export.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.out_dir: Arc<Path>Output directory. Must exist; the exporter does not recursively
mkdir.
row_group_rows: usizeRow-group flush threshold by row count. Default: 131 072.
row_group_bytes: usizeRow-group flush threshold by uncompressed bytes. Default: 64 MiB.
compression: CompressionOptCompression. Default: zstd-3.
overwrite: boolIf true, overwrite existing files in out_dir. Default: false.
parsed_at_ms: Option<i64>Pin parsed_at (UTC ms epoch). When None the exporter calls
jiff::Timestamp::now.
Tests and reproducible builds set this to make output byte-deterministic.
command_line: Arc<str>Verbatim command line to embed in the manifest (e.g.
"tfparser parse foo --out bar"). Optional.
tables: Vec<SecondaryTable>Which secondary Parquet tables to emit alongside
resources.parquet. Phase 8 (M5) introduces
dependencies.parquet, components.parquet, and
modules.parquet. Defaults to none so existing callers see
the original M0 output shape; CLI binds --tables to expand.
Implementations§
Source§impl ExportOptions
impl ExportOptions
Sourcepub fn builder() -> ExportOptionsBuilder<((), (), (), (), (), (), (), ())>
pub fn builder() -> ExportOptionsBuilder<((), (), (), (), (), (), (), ())>
Create a builder for building ExportOptions.
On the builder, call .out_dir(...), .row_group_rows(...)(optional), .row_group_bytes(...)(optional), .compression(...)(optional), .overwrite(...)(optional), .parsed_at_ms(...)(optional), .command_line(...)(optional), .tables(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of ExportOptions.
Trait Implementations§
Source§impl Clone for ExportOptions
impl Clone for ExportOptions
Source§fn clone(&self) -> ExportOptions
fn clone(&self) -> ExportOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExportOptions
impl Debug for ExportOptions
Source§impl PartialEq for ExportOptions
impl PartialEq for ExportOptions
Source§fn eq(&self, other: &ExportOptions) -> bool
fn eq(&self, other: &ExportOptions) -> bool
self and other values to be equal, and is used by ==.impl Eq for ExportOptions
impl StructuralPartialEq for ExportOptions
Auto Trait Implementations§
impl Freeze for ExportOptions
impl RefUnwindSafe for ExportOptions
impl Send for ExportOptions
impl Sync for ExportOptions
impl Unpin for ExportOptions
impl UnsafeUnpin for ExportOptions
impl UnwindSafe for ExportOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.