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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Formats the value using the given formatter. Read more
Format this node

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more