pub struct PropertyPredicate { /* private fields */ }Expand description
A property-based predicate for factorized data.
Evaluates a condition on an entity’s property (node or edge).
§Performance
Uses direct property lookup via LpgStore::get_node_property() which is
O(1) per entity. This avoids the O(properties) overhead of loading all
properties when only one is needed.
Implementations§
Trait Implementations§
Source§impl FactorizedPredicate for PropertyPredicate
impl FactorizedPredicate for PropertyPredicate
Source§fn evaluate_batch(
&self,
chunk: &FactorizedChunk,
level: usize,
) -> LevelSelection
fn evaluate_batch( &self, chunk: &FactorizedChunk, level: usize, ) -> LevelSelection
Batch evaluates the predicate for all physical indices at a level.
This is more cache-friendly than individual evaluations for large batches.
Auto Trait Implementations§
impl Freeze for PropertyPredicate
impl !RefUnwindSafe for PropertyPredicate
impl Send for PropertyPredicate
impl Sync for PropertyPredicate
impl Unpin for PropertyPredicate
impl !UnwindSafe for PropertyPredicate
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