pub trait Blocker: Send + Sync {
// Required methods
fn blocking_keys(&self, record: &Record, schema: &Schema) -> Vec<String>;
fn index_record(
&self,
record: &Record,
schema: &Schema,
index: &mut dyn BlockIndex,
);
fn candidates(
&self,
record: &Record,
schema: &Schema,
index: &dyn BlockIndex,
) -> Vec<u64>;
}Expand description
Extracts blocking keys from records and looks up candidates in an index.