pub struct JoinRelation {
pub alias: String,
pub cardinality: f64,
pub column_stats: BTreeMap<String, ColumnStats>,
pub access_cost: f64,
pub paradigm: AccessParadigm,
pub source_id: u64,
}Expand description
Description of a base relation feeding a join-order search.
Fields§
§alias: String§cardinality: f64§column_stats: BTreeMap<String, ColumnStats>§access_cost: f64Cost of producing this relation after local access predicates.
paradigm: AccessParadigmPhysical domain used by the relation-local access path.
source_id: u64Relation reference the engine resolves back to its backing data (e.g. a table id or scan handle).
Trait Implementations§
Source§impl Clone for JoinRelation
impl Clone for JoinRelation
Source§fn clone(&self) -> JoinRelation
fn clone(&self) -> JoinRelation
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 Freeze for JoinRelation
impl RefUnwindSafe for JoinRelation
impl Send for JoinRelation
impl Sync for JoinRelation
impl Unpin for JoinRelation
impl UnsafeUnpin for JoinRelation
impl UnwindSafe for JoinRelation
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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