Skip to main content

estimate_pattern_with_bound_slots

Function estimate_pattern_with_bound_slots 

Source
pub fn estimate_pattern_with_bound_slots(
    profile: &StatsProfile,
    pattern: &EncodedTriplePattern,
    extra: ExtraBoundSlots,
) -> u64
Expand description

estimate_pattern with extra S/P/O slots treated as bound without a term.

Incoming LeftJoin keys use this: no CMS probe (no concrete IRI), but HLL fan-out under bound P still applies. Incoming-bound ?p with no ground predicate uses mean |P|. rdf:type + a named class still uses the exact class map only when the object slot holds a ground term.