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: ScanStateaggs: *mut Listnumaggs: c_intnumtrans: c_intaggstrategy: AggStrategyaggsplit: AggSplitphase: AggStatePerPhasenumphases: c_intcurrent_phase: c_intperagg: AggStatePerAggpertrans: AggStatePerTranshashcontext: *mut ExprContextaggcontexts: *mut *mut ExprContexttmpcontext: *mut ExprContextcuraggcontext: *mut ExprContextcurperagg: AggStatePerAggcurpertrans: AggStatePerTransinput_done: boolagg_done: boolprojected_set: c_intcurrent_set: c_intgrouped_cols: *mut Bitmapsetall_grouped_cols: *mut Listcolnos_needed: *mut Bitmapsetmax_colno_needed: c_intall_cols_needed: boolmaxsets: c_intphases: AggStatePerPhasesort_in: *mut Tuplesortstatesort_out: *mut Tuplesortstatesort_slot: *mut TupleTableSlotpergroups: *mut AggStatePerGroupgrp_firstTuple: HeapTupletable_filled: boolnum_hashes: c_inthash_metacxt: MemoryContexthash_tapeinfo: *mut HashTapeInfohash_spills: *mut HashAggSpillhash_spill_rslot: *mut TupleTableSlothash_spill_wslot: *mut TupleTableSlothash_batches: *mut Listhash_ever_spilled: boolhash_spill_mode: boolhash_mem_limit: Sizehash_ngroups_limit: uint64hash_planned_partitions: c_inthashentrysize: f64hash_mem_peak: Sizehash_ngroups_current: uint64hash_disk_used: uint64hash_batches_used: c_intperhash: AggStatePerHashhash_pergroup: *mut AggStatePerGroupall_pergroups: *mut AggStatePerGroupcombinedproj: *mut ProjectionInfoTrait Implementations
impl Copy for AggState
Auto Trait Implementations
impl RefUnwindSafe for AggState
impl !Send for AggState
impl !Sync for AggState
impl Unpin for AggState
impl UnwindSafe for AggState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more