pub struct OutputPlan { /* private fields */ }Expand description
Describes an output partition (file) that will be generated
Implementations§
Source§impl OutputPlan
impl OutputPlan
pub fn new( table: Table, scale_factor: f64, output_format: OutputFormat, parquet_compression: Compression, output_location: OutputLocation, generation_plan: GenerationPlan, ) -> Self
Sourcepub fn scale_factor(&self) -> f64
pub fn scale_factor(&self) -> f64
Return the scale factor for this partition
Sourcepub fn output_format(&self) -> OutputFormat
pub fn output_format(&self) -> OutputFormat
Return the output format for this partition
Sourcepub fn output_location(&self) -> &OutputLocation
pub fn output_location(&self) -> &OutputLocation
return the output location
Sourcepub fn parquet_compression(&self) -> Compression
pub fn parquet_compression(&self) -> Compression
Return the parquet compression level for this partition
Sourcepub fn chunk_count(&self) -> usize
pub fn chunk_count(&self) -> usize
Return the number of chunks part(ition) count (the number of data chunks in the underlying generation plan)
Sourcepub fn generation_plan(&self) -> &GenerationPlan
pub fn generation_plan(&self) -> &GenerationPlan
return the generation plan for this partition
Trait Implementations§
Source§impl Clone for OutputPlan
impl Clone for OutputPlan
Source§fn clone(&self) -> OutputPlan
fn clone(&self) -> OutputPlan
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 OutputPlan
impl Debug for OutputPlan
Source§impl Display for OutputPlan
impl Display for OutputPlan
Source§impl PartialEq for OutputPlan
impl PartialEq for OutputPlan
impl StructuralPartialEq for OutputPlan
Auto Trait Implementations§
impl Freeze for OutputPlan
impl RefUnwindSafe for OutputPlan
impl Send for OutputPlan
impl Sync for OutputPlan
impl Unpin for OutputPlan
impl UnwindSafe for OutputPlan
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