pub enum TemporalQueryPredicate {
Instant {
tick: i128,
},
Overlaps {
begin: i128,
end: i128,
},
WithinRange {
begin: i128,
end: i128,
},
InstantsInRange,
}Expand description
Exact interval predicate a TemporalCandidateScan applies per candidate
(partition-side, integer-only). The scan’s key intervals already produce
a superset; this drops postings whose exact pair misses, before the wire.
Variants§
Instant
Keep postings whose exact interval covers the tick (which spans contain instant X — the ancestor-chain scan shape).
Overlaps
Keep postings whose exact interval intersects [begin, end]
(span overlap queries).
WithinRange
Keep postings whose exact interval lies inside [begin, end]
(spans contained in span Y).
InstantsInRange
Keep only instant postings (begin == end); the key-range scans enforce the window (which instants does span Y contain).
Implementations§
Trait Implementations§
Source§impl Clone for TemporalQueryPredicate
impl Clone for TemporalQueryPredicate
Source§fn clone(&self) -> TemporalQueryPredicate
fn clone(&self) -> TemporalQueryPredicate
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 TemporalQueryPredicate
impl Debug for TemporalQueryPredicate
Source§impl PartialEq for TemporalQueryPredicate
impl PartialEq for TemporalQueryPredicate
impl Copy for TemporalQueryPredicate
impl Eq for TemporalQueryPredicate
impl StructuralPartialEq for TemporalQueryPredicate
Auto Trait Implementations§
impl Freeze for TemporalQueryPredicate
impl RefUnwindSafe for TemporalQueryPredicate
impl Send for TemporalQueryPredicate
impl Sync for TemporalQueryPredicate
impl Unpin for TemporalQueryPredicate
impl UnsafeUnpin for TemporalQueryPredicate
impl UnwindSafe for TemporalQueryPredicate
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