#[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: Type,
pub aggsplit: Type,
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: Type
§aggsplit: Type
§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
Trait Implementations§
impl Copy for AggState
Auto Trait Implementations§
impl Freeze for AggState
impl RefUnwindSafe for AggState
impl !Send for AggState
impl !Sync for AggState
impl Unpin for AggState
impl UnwindSafe for AggState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more