PostgreSQL Source Code  git master
AggState Struct Reference

#include <execnodes.h>

Data Fields

ScanState ss
 
Listaggs
 
int numaggs
 
int numtrans
 
AggStrategy aggstrategy
 
AggSplit aggsplit
 
AggStatePerPhase phase
 
int numphases
 
int current_phase
 
AggStatePerAgg peragg
 
AggStatePerTrans pertrans
 
ExprContexthashcontext
 
ExprContext ** aggcontexts
 
ExprContexttmpcontext
 
ExprContextcuraggcontext
 
AggStatePerAgg curperagg
 
AggStatePerTrans curpertrans
 
bool input_done
 
bool agg_done
 
int projected_set
 
int current_set
 
Bitmapsetgrouped_cols
 
Listall_grouped_cols
 
int maxsets
 
AggStatePerPhase phases
 
Tuplesortstatesort_in
 
Tuplesortstatesort_out
 
TupleTableSlotsort_slot
 
AggStatePerGrouppergroups
 
HeapTuple grp_firstTuple
 
bool table_filled
 
int num_hashes
 
AggStatePerHash perhash
 
AggStatePerGrouphash_pergroup
 
AggStatePerGroupall_pergroups
 
ProjectionInfocombinedproj
 

Detailed Description

Definition at line 2033 of file execnodes.h.

Field Documentation

◆ agg_done

bool AggState::agg_done

◆ aggcontexts

◆ aggs

List* AggState::aggs

Definition at line 2036 of file execnodes.h.

Referenced by ExecInitAgg(), and ExecInitExprRec().

◆ aggsplit

◆ aggstrategy

◆ all_grouped_cols

List* AggState::all_grouped_cols

Definition at line 2060 of file execnodes.h.

Referenced by find_hash_columns(), and prepare_projection_slot().

◆ all_pergroups

AggStatePerGroup* AggState::all_pergroups

Definition at line 2080 of file execnodes.h.

Referenced by ExecInterpExpr().

◆ combinedproj

ProjectionInfo* AggState::combinedproj

Definition at line 2082 of file execnodes.h.

◆ curaggcontext

◆ curperagg

AggStatePerAgg AggState::curperagg

Definition at line 2051 of file execnodes.h.

Referenced by AggGetAggref(), AggStateIsShared(), ExecInitAgg(), and finalize_aggregate().

◆ curpertrans

AggStatePerTrans AggState::curpertrans

◆ current_phase

int AggState::current_phase

Definition at line 2043 of file execnodes.h.

Referenced by agg_retrieve_direct(), and initialize_phase().

◆ current_set

◆ grouped_cols

Bitmapset* AggState::grouped_cols

Definition at line 2059 of file execnodes.h.

Referenced by prepare_projection_slot().

◆ grp_firstTuple

HeapTuple AggState::grp_firstTuple

Definition at line 2070 of file execnodes.h.

Referenced by agg_retrieve_direct(), ExecInitAgg(), and ExecReScanAgg().

◆ hash_pergroup

AggStatePerGroup* AggState::hash_pergroup

Definition at line 2075 of file execnodes.h.

Referenced by lookup_hash_entries().

◆ hashcontext

ExprContext* AggState::hashcontext

◆ input_done

bool AggState::input_done

Definition at line 2054 of file execnodes.h.

Referenced by agg_retrieve_direct(), ExecInitAgg(), and ExecReScanAgg().

◆ maxsets

int AggState::maxsets

◆ num_hashes

int AggState::num_hashes

◆ numaggs

int AggState::numaggs

Definition at line 2037 of file execnodes.h.

Referenced by ExecInitAgg(), ExecInitExprRec(), ExecReScanAgg(), and finalize_aggregates().

◆ numphases

int AggState::numphases

Definition at line 2042 of file execnodes.h.

Referenced by agg_retrieve_direct(), and ExecInitAgg().

◆ numtrans

◆ peragg

AggStatePerAgg AggState::peragg

◆ pergroups

AggStatePerGroup* AggState::pergroups

Definition at line 2068 of file execnodes.h.

Referenced by agg_retrieve_direct(), ExecInitAgg(), and ExecReScanAgg().

◆ perhash

◆ pertrans

◆ phase

◆ phases

AggStatePerPhase AggState::phases

Definition at line 2063 of file execnodes.h.

Referenced by find_hash_columns(), and initialize_phase().

◆ projected_set

int AggState::projected_set

Definition at line 2056 of file execnodes.h.

Referenced by agg_retrieve_direct(), ExecInitAgg(), and ExecReScanAgg().

◆ sort_in

Tuplesortstate* AggState::sort_in

Definition at line 2064 of file execnodes.h.

Referenced by ExecEndAgg(), ExecInitAgg(), fetch_input_tuple(), and initialize_phase().

◆ sort_out

Tuplesortstate* AggState::sort_out

Definition at line 2065 of file execnodes.h.

Referenced by ExecEndAgg(), ExecInitAgg(), fetch_input_tuple(), and initialize_phase().

◆ sort_slot

TupleTableSlot* AggState::sort_slot

Definition at line 2066 of file execnodes.h.

Referenced by ExecInitAgg(), and fetch_input_tuple().

◆ ss

◆ table_filled

bool AggState::table_filled

Definition at line 2072 of file execnodes.h.

Referenced by agg_fill_hash_table(), agg_retrieve_direct(), ExecAgg(), and ExecReScanAgg().

◆ tmpcontext


The documentation for this struct was generated from the following file: