pub struct ExistsCorrelationInfo {
pub outer_column: String,
pub outer_table: Option<String>,
pub inner_column: String,
pub inner_table: String,
pub outer_column_lower: String,
pub outer_qualified_lower: Option<String>,
pub additional_predicate: Option<Expression>,
pub index_cache_key: String,
}Expand description
Pre-computed info for index nested loop EXISTS lookups to avoid per-row string operations. This caches the pre-computed lowercase column names for O(1) outer row lookups.
Fields§
§outer_column: StringThe outer column name in original case
outer_table: Option<String>The outer table name (optional)
inner_column: StringThe inner column name
inner_table: StringThe inner table name
outer_column_lower: StringPre-computed lowercase outer column name for fast HashMap lookup
outer_qualified_lower: Option<String>Pre-computed qualified outer column name (e.g., “u.id”) in lowercase
additional_predicate: Option<Expression>The additional predicate beyond the correlation (if any)
index_cache_key: StringPre-computed index cache key (“table:column”) to avoid per-probe format! allocation
Trait Implementations§
Source§impl Clone for ExistsCorrelationInfo
impl Clone for ExistsCorrelationInfo
Source§fn clone(&self) -> ExistsCorrelationInfo
fn clone(&self) -> ExistsCorrelationInfo
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 moreAuto Trait Implementations§
impl Freeze for ExistsCorrelationInfo
impl RefUnwindSafe for ExistsCorrelationInfo
impl Send for ExistsCorrelationInfo
impl Sync for ExistsCorrelationInfo
impl Unpin for ExistsCorrelationInfo
impl UnsafeUnpin for ExistsCorrelationInfo
impl UnwindSafe for ExistsCorrelationInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CompactArcDrop for T
impl<T> CompactArcDrop for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more