pub struct OutputPlanGenerator { /* private fields */ }Expand description
Plans the creation of output files
Implementations§
Source§impl OutputPlanGenerator
impl OutputPlanGenerator
pub fn new( format: OutputFormat, scale_factor: f64, parquet_compression: Compression, parquet_row_group_bytes: i64, stdout: bool, output_dir: PathBuf, ) -> Self
Sourcepub fn generate_plans(
&mut self,
table: Table,
cli_part: Option<i32>,
cli_part_count: Option<i32>,
) -> Result<()>
pub fn generate_plans( &mut self, table: Table, cli_part: Option<i32>, cli_part_count: Option<i32>, ) -> Result<()>
Generate the output plans for the given table and partition options
Sourcepub fn build(self) -> Vec<OutputPlan>
pub fn build(self) -> Vec<OutputPlan>
Return the output plans generated so far
Auto Trait Implementations§
impl Freeze for OutputPlanGenerator
impl RefUnwindSafe for OutputPlanGenerator
impl Send for OutputPlanGenerator
impl Sync for OutputPlanGenerator
impl Unpin for OutputPlanGenerator
impl UnwindSafe for OutputPlanGenerator
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