◆ AggregateFunctionSet() [1/3]
| duckdb::AggregateFunctionSet::AggregateFunctionSet |
( |
| ) |
|
|
explicit |
222804 : FunctionSet("") {
222805}
◆ AggregateFunctionSet() [2/3]
| duckdb::AggregateFunctionSet::AggregateFunctionSet |
( |
string | name | ) |
|
|
explicit |
222807 : FunctionSet(std::move(
name)) {
222808}
string name
Definition duckdb.hpp:44066
◆ AggregateFunctionSet() [3/3]
222810 : FunctionSet(std::move(fun.name)) {
222812}
vector< AggregateFunction > functions
Definition duckdb.hpp:44068
◆ GetFunctionByArguments()
222815 {
222816 ErrorData error;
222817 FunctionBinder binder(context);
222818 auto index = binder.BindFunction(
name, *
this, arguments, error);
222819 if (!
index.IsValid()) {
222820
222821
222822
222824 if (arguments.size() >= func.arguments.size()) {
222825 continue;
222826 }
222827 bool is_prefix = true;
222828 for (
idx_t k = 0; k < arguments.size(); k++) {
222829 if (arguments[k].id() != func.arguments[k].id()) {
222830 is_prefix = false;
222831 break;
222832 }
222833 }
222834 if (is_prefix) {
222835 return func;
222836 }
222837 }
222838 throw InternalException(
"Failed to find function %s(%s)\n%s",
name, StringUtil::ToString(arguments,
","),
222839 error.Message());
222840 }
222841 return GetFunctionByOffset(
index.GetIndex());
222842}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
The documentation for this class was generated from the following files: