pub struct PropertyProfile { /* private fields */ }Expand description
A pre-computed set of string column groupings derived from a representative sample of tiles.
Building a profile once from sample tiles avoids re-running the expensive
MinHash similarity analysis on every subsequent tile; the profile’s
pre-computed string groups are applied directly during the grouping step
instead.
Profiles from multiple samples are combined with PropertyProfile::merge,
which takes the union of both sets of string groups.
Implementations§
Source§impl PropertyProfile
impl PropertyProfile
Sourcepub fn from_sample(properties: &[StagedProperty]) -> Self
pub fn from_sample(properties: &[StagedProperty]) -> Self
Build a profile from a sample of staged properties.
Runs MinHash similarity analysis over all string columns and records
which column names should be grouped into shared dictionaries.
Trait Implementations§
Source§impl Clone for PropertyProfile
impl Clone for PropertyProfile
Source§fn clone(&self) -> PropertyProfile
fn clone(&self) -> PropertyProfile
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 PropertyProfile
impl Debug for PropertyProfile
Source§impl PartialEq for PropertyProfile
impl PartialEq for PropertyProfile
impl StructuralPartialEq for PropertyProfile
Auto Trait Implementations§
impl Freeze for PropertyProfile
impl RefUnwindSafe for PropertyProfile
impl Send for PropertyProfile
impl Sync for PropertyProfile
impl Unpin for PropertyProfile
impl UnsafeUnpin for PropertyProfile
impl UnwindSafe for PropertyProfile
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