pub struct ExtractionConfig {
pub privacy: PrivacyConfig,
pub extract_correlations: bool,
pub extract_integrity: bool,
pub extract_rules: bool,
pub extract_anomalies: bool,
pub max_sample_size: Option<usize>,
pub min_rows: usize,
pub streaming: bool,
pub stream_batch_size: usize,
}Expand description
Configuration for fingerprint extraction.
Fields§
§privacy: PrivacyConfigPrivacy configuration.
extract_correlations: boolWhether to extract correlations.
extract_integrity: boolWhether to extract integrity constraints.
extract_rules: boolWhether to extract business rules.
extract_anomalies: boolWhether to extract anomaly patterns.
max_sample_size: Option<usize>Maximum sample size for large datasets.
min_rows: usizeMinimum rows required for extraction.
streaming: boolEnable streaming extraction for large files.
When enabled, uses online algorithms for statistics computation
to reduce memory usage. Set stream_batch_size to control memory.
stream_batch_size: usizeBatch size for streaming extraction (number of rows per batch).
Smaller values reduce memory but may increase computation time. Default is 10,000 rows.
Implementations§
Source§impl ExtractionConfig
impl ExtractionConfig
Sourcepub fn with_privacy_level(level: PrivacyLevel) -> Self
pub fn with_privacy_level(level: PrivacyLevel) -> Self
Create with a specific privacy level.
Sourcepub fn with_streaming(self, batch_size: usize) -> Self
pub fn with_streaming(self, batch_size: usize) -> Self
Enable streaming mode for large datasets.
Streaming mode uses online algorithms to compute statistics without loading all data into memory.
Trait Implementations§
Source§impl Clone for ExtractionConfig
impl Clone for ExtractionConfig
Source§fn clone(&self) -> ExtractionConfig
fn clone(&self) -> ExtractionConfig
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 ExtractionConfig
impl Debug for ExtractionConfig
Auto Trait Implementations§
impl Freeze for ExtractionConfig
impl RefUnwindSafe for ExtractionConfig
impl Send for ExtractionConfig
impl Sync for ExtractionConfig
impl Unpin for ExtractionConfig
impl UnsafeUnpin for ExtractionConfig
impl UnwindSafe for ExtractionConfig
Blanket Implementations§
impl<T> Allocation for T
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.