pub struct CharSet {
pub predicates: Vec<u32>,
pub subjects: u64,
}Expand description
A characteristic set — one entity “shape”: the sorted set of predicates a subject carries, plus how many subjects share exactly that shape. Computed at build (top-N shapes by subject count), range-fetched with the pyramid. Useful for data profiling (the distinct entity shapes) and for estimating the selectivity of a subject star (subjects matching ALL of several predicates).
Fields§
§predicates: Vec<u32>Predicate ids, ascending.
subjects: u64Subjects whose predicate set is exactly this.
Trait Implementations§
impl Eq for CharSet
impl StructuralPartialEq for CharSet
Auto Trait Implementations§
impl Freeze for CharSet
impl RefUnwindSafe for CharSet
impl Send for CharSet
impl Sync for CharSet
impl Unpin for CharSet
impl UnsafeUnpin for CharSet
impl UnwindSafe for CharSet
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