Struct pgx_pg_sys::RelOptInfo

source ·
#[repr(C)]
pub struct RelOptInfo {
Show 59 fields pub type_: NodeTag, pub reloptkind: RelOptKind, pub relids: Relids, pub rows: f64, pub consider_startup: bool, pub consider_param_startup: bool, pub consider_parallel: bool, pub reltarget: *mut PathTarget, pub pathlist: *mut List, pub ppilist: *mut List, pub partial_pathlist: *mut List, pub cheapest_startup_path: *mut Path, pub cheapest_total_path: *mut Path, pub cheapest_unique_path: *mut Path, pub cheapest_parameterized_paths: *mut List, pub direct_lateral_relids: Relids, pub lateral_relids: Relids, pub relid: Index, pub reltablespace: Oid, pub rtekind: RTEKind, pub min_attr: AttrNumber, pub max_attr: AttrNumber, pub attr_needed: *mut Relids, pub attr_widths: *mut int32, pub lateral_vars: *mut List, pub lateral_referencers: Relids, pub indexlist: *mut List, pub statlist: *mut List, pub pages: BlockNumber, pub tuples: f64, pub allvisfrac: f64, pub eclass_indexes: *mut Bitmapset, pub subroot: *mut PlannerInfo, pub subplan_params: *mut List, pub rel_parallel_workers: c_int, pub amflags: uint32, pub serverid: Oid, pub userid: Oid, pub useridiscurrent: bool, pub fdwroutine: *mut FdwRoutine, pub fdw_private: *mut c_void, pub unique_for_rels: *mut List, pub non_unique_for_rels: *mut List, pub baserestrictinfo: *mut List, pub baserestrictcost: QualCost, pub baserestrict_min_security: Index, pub joininfo: *mut List, pub has_eclass_joins: bool, pub consider_partitionwise_join: bool, pub top_parent_relids: Relids, pub part_scheme: PartitionScheme, pub nparts: c_int, pub boundinfo: *mut PartitionBoundInfoData, pub partbounds_merged: bool, pub partition_qual: *mut List, pub part_rels: *mut *mut RelOptInfo, pub all_partrels: Relids, pub partexprs: *mut *mut List, pub nullable_partexprs: *mut *mut List,
}

Fields§

§type_: NodeTag§reloptkind: RelOptKind§relids: Relids§rows: f64§consider_startup: bool§consider_param_startup: bool§consider_parallel: bool§reltarget: *mut PathTarget§pathlist: *mut List§ppilist: *mut List§partial_pathlist: *mut List§cheapest_startup_path: *mut Path§cheapest_total_path: *mut Path§cheapest_unique_path: *mut Path§cheapest_parameterized_paths: *mut List§direct_lateral_relids: Relids§lateral_relids: Relids§relid: Index§reltablespace: Oid§rtekind: RTEKind§min_attr: AttrNumber§max_attr: AttrNumber§attr_needed: *mut Relids§attr_widths: *mut int32§lateral_vars: *mut List§lateral_referencers: Relids§indexlist: *mut List§statlist: *mut List§pages: BlockNumber§tuples: f64§allvisfrac: f64§eclass_indexes: *mut Bitmapset§subroot: *mut PlannerInfo§subplan_params: *mut List§rel_parallel_workers: c_int§amflags: uint32§serverid: Oid§userid: Oid§useridiscurrent: bool§fdwroutine: *mut FdwRoutine§fdw_private: *mut c_void§unique_for_rels: *mut List§non_unique_for_rels: *mut List§baserestrictinfo: *mut List§baserestrictcost: QualCost§baserestrict_min_security: Index§joininfo: *mut List§has_eclass_joins: bool§consider_partitionwise_join: bool§top_parent_relids: Relids§part_scheme: PartitionScheme§nparts: c_int§boundinfo: *mut PartitionBoundInfoData§partbounds_merged: bool§partition_qual: *mut List§part_rels: *mut *mut RelOptInfo§all_partrels: Relids§partexprs: *mut *mut List§nullable_partexprs: *mut *mut List

Trait Implementations§

source§

impl Clone for RelOptInfo

source§

fn clone(&self) -> RelOptInfo

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RelOptInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RelOptInfo

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Display for RelOptInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PgNode for RelOptInfo

source§

fn display_node(&self) -> String

Format this node Read more
source§

impl Copy for RelOptInfo

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.