[][src]Struct pgx_pg_sys::AggState

#[repr(C)]pub struct AggState {
    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 ProjectionInfoshared_info: *mut SharedAggInfo

Trait Implementations

impl Clone for AggState[src]

impl Copy for AggState[src]

impl Debug for AggState[src]

impl Default for AggState[src]

impl Display for AggState[src]

impl PgNode for AggState[src]

type NodeType = AggState

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.