◆ AggregateObject() [1/3]
159562 : function(std::move(function)),
159563 bind_data_wrapper(bind_data ? make_shared_ptr<FunctionDataWrapper>(bind_data->Copy()) : nullptr),
159564 child_count(child_count), payload_size(payload_size), aggr_type(aggr_type), return_type(return_type),
159565 filter(filter) {
159566}
◆ AggregateObject() [2/3]
159569 : AggregateObject(aggr->function, aggr->bind_info.get(), aggr->children.size(),
159570 AlignValue(aggr->function.GetStateSizeCallback()(aggr->function)), aggr->aggr_type,
159571 aggr->return_type.InternalType(), aggr->filter.get()) {
159572}
static T AlignValue(T n)
Align value (ceiling) (not for pointer types).
Definition duckdb.hpp:2126
◆ AggregateObject() [3/3]
159575 : AggregateObject(*window.aggregate, window.bind_info.get(), window.children.size(),
159576 AlignValue(window.aggregate->GetStateSizeCallback()(*window.aggregate)),
159577 window.distinct ? AggregateType::DISTINCT : AggregateType::NON_DISTINCT,
159578 window.return_type.InternalType(), window.filter_expr.get()) {
159579}
◆ GetFunctionData()
| FunctionData * duckdb::AggregateObject::GetFunctionData |
( |
| ) |
const |
|
inline |
56075 {
56076 return bind_data_wrapper ? bind_data_wrapper->function_data.get() : nullptr;
56077 }
◆ IsDistinct()
| bool duckdb::AggregateObject::IsDistinct |
( |
| ) |
const |
|
inline |
56088 {
56089 return aggr_type == AggregateType::DISTINCT;
56090 }
◆ CreateAggregateObjects()
159581 {
159582 vector<AggregateObject> aggregates;
159583 aggregates.reserve(bindings.size());
159584 for (auto &binding : bindings) {
159585 aggregates.emplace_back(binding);
159586 }
159587 return aggregates;
159588}
The documentation for this struct was generated from the following file: