PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WindowAggState Struct Reference

#include <execnodes.h>

Data Fields

ScanState ss
 
Listfuncs
 
int numfuncs
 
int numaggs
 
WindowStatePerFunc perfunc
 
WindowStatePerAgg peragg
 
ExprStatepartEqfunction
 
ExprStateordEqfunction
 
Tuplestorestatebuffer
 
int current_ptr
 
int framehead_ptr
 
int frametail_ptr
 
int grouptail_ptr
 
int64 spooled_rows
 
int64 currentpos
 
int64 frameheadpos
 
int64 frametailpos
 
struct WindowObjectDataagg_winobj
 
int64 aggregatedbase
 
int64 aggregatedupto
 
WindowAggStatus status
 
int frameOptions
 
ExprStatestartOffset
 
ExprStateendOffset
 
Datum startOffsetValue
 
Datum endOffsetValue
 
FmgrInfo startInRangeFunc
 
FmgrInfo endInRangeFunc
 
Oid inRangeColl
 
bool inRangeAsc
 
bool inRangeNullsFirst
 
bool use_pass_through
 
bool top_window
 
ExprStateruncondition
 
int64 currentgroup
 
int64 frameheadgroup
 
int64 frametailgroup
 
int64 groupheadpos
 
int64 grouptailpos
 
MemoryContext partcontext
 
MemoryContext aggcontext
 
MemoryContext curaggcontext
 
ExprContexttmpcontext
 
bool all_first
 
bool partition_spooled
 
bool next_partition
 
bool more_partitions
 
bool framehead_valid
 
bool frametail_valid
 
bool grouptail_valid
 
TupleTableSlotfirst_part_slot
 
TupleTableSlotframehead_slot
 
TupleTableSlotframetail_slot
 
TupleTableSlotagg_row_slot
 
TupleTableSlottemp_slot_1
 
TupleTableSlottemp_slot_2
 

Detailed Description

Definition at line 2588 of file execnodes.h.

Field Documentation

◆ agg_row_slot

TupleTableSlot* WindowAggState::agg_row_slot

◆ agg_winobj

struct WindowObjectData* WindowAggState::agg_winobj

◆ aggcontext

◆ aggregatedbase

int64 WindowAggState::aggregatedbase

Definition at line 2612 of file execnodes.h.

Referenced by begin_partition(), and eval_windowaggregates().

◆ aggregatedupto

int64 WindowAggState::aggregatedupto

Definition at line 2613 of file execnodes.h.

Referenced by begin_partition(), and eval_windowaggregates().

◆ all_first

bool WindowAggState::all_first

◆ buffer

◆ curaggcontext

MemoryContext WindowAggState::curaggcontext

◆ current_ptr

int WindowAggState::current_ptr

Definition at line 2602 of file execnodes.h.

Referenced by ExecWindowAgg(), and prepare_tuplestore().

◆ currentgroup

int64 WindowAggState::currentgroup

◆ currentpos

◆ endInRangeFunc

FmgrInfo WindowAggState::endInRangeFunc

Definition at line 2624 of file execnodes.h.

Referenced by ExecInitWindowAgg(), and update_frametailpos().

◆ endOffset

ExprState* WindowAggState::endOffset

Definition at line 2618 of file execnodes.h.

Referenced by calculate_frame_offsets(), and ExecInitWindowAgg().

◆ endOffsetValue

Datum WindowAggState::endOffsetValue

Definition at line 2620 of file execnodes.h.

Referenced by calculate_frame_offsets(), row_is_in_frame(), and update_frametailpos().

◆ first_part_slot

TupleTableSlot* WindowAggState::first_part_slot

◆ framehead_ptr

int WindowAggState::framehead_ptr

Definition at line 2603 of file execnodes.h.

Referenced by ExecWindowAgg(), prepare_tuplestore(), and update_frameheadpos().

◆ framehead_slot

TupleTableSlot* WindowAggState::framehead_slot

◆ framehead_valid

bool WindowAggState::framehead_valid

Definition at line 2658 of file execnodes.h.

Referenced by begin_partition(), ExecWindowAgg(), and update_frameheadpos().

◆ frameheadgroup

int64 WindowAggState::frameheadgroup

Definition at line 2642 of file execnodes.h.

Referenced by begin_partition(), and update_frameheadpos().

◆ frameheadpos

int64 WindowAggState::frameheadpos

◆ frameOptions

◆ frametail_ptr

int WindowAggState::frametail_ptr

Definition at line 2604 of file execnodes.h.

Referenced by ExecWindowAgg(), prepare_tuplestore(), and update_frametailpos().

◆ frametail_slot

TupleTableSlot* WindowAggState::frametail_slot

◆ frametail_valid

bool WindowAggState::frametail_valid

Definition at line 2660 of file execnodes.h.

Referenced by begin_partition(), ExecWindowAgg(), and update_frametailpos().

◆ frametailgroup

int64 WindowAggState::frametailgroup

Definition at line 2643 of file execnodes.h.

Referenced by begin_partition(), and update_frametailpos().

◆ frametailpos

int64 WindowAggState::frametailpos

◆ funcs

List* WindowAggState::funcs

Definition at line 2593 of file execnodes.h.

Referenced by ExecInitExprRec(), and ExecInitWindowAgg().

◆ groupheadpos

int64 WindowAggState::groupheadpos

◆ grouptail_ptr

int WindowAggState::grouptail_ptr

Definition at line 2605 of file execnodes.h.

Referenced by ExecWindowAgg(), prepare_tuplestore(), and update_grouptailpos().

◆ grouptail_valid

bool WindowAggState::grouptail_valid

Definition at line 2662 of file execnodes.h.

Referenced by begin_partition(), ExecWindowAgg(), and update_grouptailpos().

◆ grouptailpos

int64 WindowAggState::grouptailpos

Definition at line 2645 of file execnodes.h.

Referenced by begin_partition(), update_grouptailpos(), and WinGetFuncArgInFrame().

◆ inRangeAsc

bool WindowAggState::inRangeAsc

Definition at line 2626 of file execnodes.h.

Referenced by ExecInitWindowAgg(), update_frameheadpos(), and update_frametailpos().

◆ inRangeColl

Oid WindowAggState::inRangeColl

Definition at line 2625 of file execnodes.h.

Referenced by ExecInitWindowAgg(), update_frameheadpos(), and update_frametailpos().

◆ inRangeNullsFirst

bool WindowAggState::inRangeNullsFirst

Definition at line 2627 of file execnodes.h.

Referenced by ExecInitWindowAgg(), update_frameheadpos(), and update_frametailpos().

◆ more_partitions

bool WindowAggState::more_partitions

Definition at line 2656 of file execnodes.h.

Referenced by begin_partition(), ExecInitWindowAgg(), ExecWindowAgg(), and spool_tuples().

◆ next_partition

bool WindowAggState::next_partition

Definition at line 2655 of file execnodes.h.

Referenced by begin_partition(), ExecInitWindowAgg(), ExecWindowAgg(), and release_partition().

◆ numaggs

◆ numfuncs

◆ ordEqfunction

ExprState* WindowAggState::ordEqfunction

Definition at line 2600 of file execnodes.h.

Referenced by are_peers(), and ExecInitWindowAgg().

◆ partcontext

MemoryContext WindowAggState::partcontext

◆ partEqfunction

ExprState* WindowAggState::partEqfunction

Definition at line 2599 of file execnodes.h.

Referenced by ExecInitWindowAgg(), and spool_tuples().

◆ partition_spooled

bool WindowAggState::partition_spooled

◆ peragg

WindowStatePerAgg WindowAggState::peragg

◆ perfunc

◆ runcondition

ExprState* WindowAggState::runcondition

Definition at line 2635 of file execnodes.h.

Referenced by ExecInitWindowAgg(), and ExecWindowAgg().

◆ spooled_rows

◆ ss

◆ startInRangeFunc

FmgrInfo WindowAggState::startInRangeFunc

Definition at line 2623 of file execnodes.h.

Referenced by ExecInitWindowAgg(), and update_frameheadpos().

◆ startOffset

ExprState* WindowAggState::startOffset

Definition at line 2617 of file execnodes.h.

Referenced by calculate_frame_offsets(), and ExecInitWindowAgg().

◆ startOffsetValue

Datum WindowAggState::startOffsetValue

Definition at line 2619 of file execnodes.h.

Referenced by calculate_frame_offsets(), and update_frameheadpos().

◆ status

WindowAggStatus WindowAggState::status

Definition at line 2614 of file execnodes.h.

Referenced by ExecInitWindowAgg(), ExecReScanWindowAgg(), ExecWindowAgg(), and spool_tuples().

◆ temp_slot_1

◆ temp_slot_2

◆ tmpcontext

◆ top_window

bool WindowAggState::top_window

Definition at line 2633 of file execnodes.h.

Referenced by ExecInitWindowAgg(), and ExecWindowAgg().

◆ use_pass_through

bool WindowAggState::use_pass_through

Definition at line 2630 of file execnodes.h.

Referenced by ExecInitWindowAgg(), and ExecWindowAgg().


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