pub struct ReportAssembler { /* private fields */ }Expand description
Builder for constructing a ProfileReport.
Implementations§
Source§impl ReportAssembler
impl ReportAssembler
Sourcepub fn new(source: DataSource, execution: ExecutionMetadata) -> Self
pub fn new(source: DataSource, execution: ExecutionMetadata) -> Self
Create a new assembler with required source and execution metadata.
Sourcepub fn columns(self, columns: Vec<ColumnProfile>) -> Self
pub fn columns(self, columns: Vec<ColumnProfile>) -> Self
Set the column profiles for this report.
Sourcepub fn with_quality_data(self, data: HashMap<String, Vec<String>>) -> Self
pub fn with_quality_data(self, data: HashMap<String, Vec<String>>) -> Self
Provide sample data for quality metric calculation.
Sourcepub fn with_confidence(self, confidence: MetricConfidence) -> Self
pub fn with_confidence(self, confidence: MetricConfidence) -> Self
Override the default metric confidence level.
Sourcepub fn skip_quality(self) -> Self
pub fn skip_quality(self) -> Self
Explicitly skip quality metric calculation.
Sourcepub fn with_requested_dimensions(self, dims: Vec<QualityDimension>) -> Self
pub fn with_requested_dimensions(self, dims: Vec<QualityDimension>) -> Self
Set the quality dimensions to compute.
Sourcepub fn with_semantic_hints(self, hints: SemanticHints) -> Self
pub fn with_semantic_hints(self, hints: SemanticHints) -> Self
Set semantic hints used by quality metrics.
Sourcepub fn build(self) -> ProfileReport
pub fn build(self) -> ProfileReport
Build the final ProfileReport.
Auto Trait Implementations§
impl Freeze for ReportAssembler
impl RefUnwindSafe for ReportAssembler
impl Send for ReportAssembler
impl Sync for ReportAssembler
impl Unpin for ReportAssembler
impl UnsafeUnpin for ReportAssembler
impl UnwindSafe for ReportAssembler
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