◆ WindowAggregatorLocalState()
| duckdb::WindowAggregatorLocalState::WindowAggregatorLocalState |
( |
ExecutionContext & | context | ) |
|
|
explicit |
253604 :
allocator(BufferAllocator::Get(context.client)) {
253605}
ArenaAllocator allocator
Global allocator.
Definition duckdb.cpp:164091
◆ InitSubFrames()
| void duckdb::WindowAggregatorLocalState::InitSubFrames |
( |
SubFrames & | frames, |
|
|
const WindowExcludeMode | exclude_mode ) |
|
static |
253624 {
253625 idx_t nframes = 0;
253626 switch (exclude_mode) {
253627 case WindowExcludeMode::NO_OTHER:
253628 nframes = 1;
253629 break;
253630 case WindowExcludeMode::TIES:
253631 nframes = 3;
253632 break;
253633 case WindowExcludeMode::CURRENT_ROW:
253634 case WindowExcludeMode::GROUP:
253635 nframes = 2;
253636 break;
253637 }
253638 frames.resize(nframes, {0, 0});
253639}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
◆ Sink()
◆ Finalize()
Reimplemented in duckdb::WindowDistinctAggregatorLocalState.
253642 {
253643
253645 cursor = make_uniq<WindowCursor>(*collection, gastate.aggregator.child_idx);
253646 }
253647}
unique_ptr< WindowCursor > cursor
The state used for reading the collection.
Definition duckdb.cpp:164094
The documentation for this class was generated from the following file: