|
|
const AggregateObject | aggr |
| | The aggregate function.
|
|
vector< data_t > | state |
| | Data pointer that contains a single state, shared by all the custom evaluators.
|
|
Vector | statef |
| | Reused result state container for the window functions.
|
|
SubFrames | frames |
| | The frame boundaries, used for the window functions.
|
|
ArenaAllocator | allocator |
| | Global allocator.
|
|
unique_ptr< WindowCursor > | cursor |
| | The state used for reading the collection.
|
|
SourcePartitionInfo | partition_info |
| | Source partition info.
|
◆ WindowCustomAggregatorLocalState()
255332 : WindowAggregatorLocalState(context),
aggr(
aggr),
state(
aggr.function.GetStateSizeCallback()(
aggr.function)),
255334
255335 aggr.function.GetStateInitCallback()(
aggr.function,
state.data());
255336
255337 InitSubFrames(
frames, exclude_mode);
255338}
static DUCKDB_API Value POINTER(uintptr_t value)
Create a pointer Value from a specified value.
Definition duckdb.cpp:132331
SubFrames frames
The frame boundaries, used for the window functions.
Definition duckdb.cpp:255305
Vector statef
Reused result state container for the window functions.
Definition duckdb.cpp:255303
const AggregateObject aggr
The aggregate function.
Definition duckdb.cpp:255299
vector< data_t > state
Data pointer that contains a single state, shared by all the custom evaluators.
Definition duckdb.cpp:255301
◆ ~WindowCustomAggregatorLocalState()
| duckdb::WindowCustomAggregatorLocalState::~WindowCustomAggregatorLocalState |
( |
| ) |
|
|
override |
255340 {
255341 if (
aggr.function.HasStateDestructorCallback()) {
255342 AggregateInputData aggr_input_data(
aggr.GetFunctionData(),
allocator);
255343 aggr.function.GetStateDestructorCallback()(
statef, aggr_input_data, 1);
255344 }
255345}
ArenaAllocator allocator
Global allocator.
Definition duckdb.cpp:164091
The documentation for this class was generated from the following file: