Struct pgx_pg_sys::AggState

source ·
#[repr(C)]
pub struct AggState {
Show 56 fields pub ss: ScanState, pub aggs: *mut List, pub numaggs: c_int, pub numtrans: c_int, pub aggstrategy: AggStrategy, pub aggsplit: AggSplit, pub phase: AggStatePerPhase, pub numphases: c_int, pub current_phase: c_int, pub peragg: AggStatePerAgg, pub pertrans: AggStatePerTrans, pub hashcontext: *mut ExprContext, pub aggcontexts: *mut *mut ExprContext, pub tmpcontext: *mut ExprContext, pub curaggcontext: *mut ExprContext, pub curperagg: AggStatePerAgg, pub curpertrans: AggStatePerTrans, pub input_done: bool, pub agg_done: bool, pub projected_set: c_int, pub current_set: c_int, pub grouped_cols: *mut Bitmapset, pub all_grouped_cols: *mut List, pub colnos_needed: *mut Bitmapset, pub max_colno_needed: c_int, pub all_cols_needed: bool, pub maxsets: c_int, pub phases: AggStatePerPhase, pub sort_in: *mut Tuplesortstate, pub sort_out: *mut Tuplesortstate, pub sort_slot: *mut TupleTableSlot, pub pergroups: *mut AggStatePerGroup, pub grp_firstTuple: HeapTuple, pub table_filled: bool, pub num_hashes: c_int, pub hash_metacxt: MemoryContext, pub hash_tapeinfo: *mut HashTapeInfo, pub hash_spills: *mut HashAggSpill, pub hash_spill_rslot: *mut TupleTableSlot, pub hash_spill_wslot: *mut TupleTableSlot, pub hash_batches: *mut List, pub hash_ever_spilled: bool, pub hash_spill_mode: bool, pub hash_mem_limit: Size, pub hash_ngroups_limit: uint64, pub hash_planned_partitions: c_int, pub hashentrysize: f64, pub hash_mem_peak: Size, pub hash_ngroups_current: uint64, pub hash_disk_used: uint64, pub hash_batches_used: c_int, pub perhash: AggStatePerHash, pub hash_pergroup: *mut AggStatePerGroup, pub all_pergroups: *mut AggStatePerGroup, pub combinedproj: *mut ProjectionInfo, pub shared_info: *mut SharedAggInfo,
}

Fields§

§ss: ScanState§aggs: *mut List§numaggs: c_int§numtrans: c_int§aggstrategy: AggStrategy§aggsplit: AggSplit§phase: AggStatePerPhase§numphases: c_int§current_phase: c_int§peragg: AggStatePerAgg§pertrans: AggStatePerTrans§hashcontext: *mut ExprContext§aggcontexts: *mut *mut ExprContext§tmpcontext: *mut ExprContext§curaggcontext: *mut ExprContext§curperagg: AggStatePerAgg§curpertrans: AggStatePerTrans§input_done: bool§agg_done: bool§projected_set: c_int§current_set: c_int§grouped_cols: *mut Bitmapset§all_grouped_cols: *mut List§colnos_needed: *mut Bitmapset§max_colno_needed: c_int§all_cols_needed: bool§maxsets: c_int§phases: AggStatePerPhase§sort_in: *mut Tuplesortstate§sort_out: *mut Tuplesortstate§sort_slot: *mut TupleTableSlot§pergroups: *mut AggStatePerGroup§grp_firstTuple: HeapTuple§table_filled: bool§num_hashes: c_int§hash_metacxt: MemoryContext§hash_tapeinfo: *mut HashTapeInfo§hash_spills: *mut HashAggSpill§hash_spill_rslot: *mut TupleTableSlot§hash_spill_wslot: *mut TupleTableSlot§hash_batches: *mut List§hash_ever_spilled: bool§hash_spill_mode: bool§hash_mem_limit: Size§hash_ngroups_limit: uint64§hash_planned_partitions: c_int§hashentrysize: f64§hash_mem_peak: Size§hash_ngroups_current: uint64§hash_disk_used: uint64§hash_batches_used: c_int§perhash: AggStatePerHash§hash_pergroup: *mut AggStatePerGroup§all_pergroups: *mut AggStatePerGroup§combinedproj: *mut ProjectionInfo§shared_info: *mut SharedAggInfo

Trait Implementations§

source§

impl Clone for AggState

source§

fn clone(&self) -> AggState

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 AggState

source§

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

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

impl Default for AggState

source§

fn default() -> Self

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

impl Display for AggState

source§

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

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

impl PgNode for AggState

source§

fn display_node(&self) -> String

Format this node Read more
source§

impl Copy for AggState

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.