pub enum IndexLookupStrategy {
SecondaryIndex(Arc<dyn Index>),
SegmentedSecondaryIndex {
column_name: String,
index_name: String,
},
PrimaryKey,
}Expand description
Index Nested Loop Join lookup strategy. Determines how to find matching rows in the inner (right) table.
Variants§
SecondaryIndex(Arc<dyn Index>)
Use a secondary index for lookups (index.get_row_ids_equal)
SegmentedSecondaryIndex
Use the table’s complete hot+cold exact candidate contract. The stored column name lets a segmented table resolve immutable postings without exposing them as a mutable hot Index handle.
PrimaryKey
Use primary key lookup (direct row_id = value) In radixdb, PRIMARY KEY INTEGER values ARE the row_ids
Trait Implementations§
Source§impl Clone for IndexLookupStrategy
impl Clone for IndexLookupStrategy
Source§fn clone(&self) -> IndexLookupStrategy
fn clone(&self) -> IndexLookupStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for IndexLookupStrategy
impl !UnwindSafe for IndexLookupStrategy
impl Freeze for IndexLookupStrategy
impl Send for IndexLookupStrategy
impl Sync for IndexLookupStrategy
impl Unpin for IndexLookupStrategy
impl UnsafeUnpin for IndexLookupStrategy
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