◆ FunctionCount()
246524 {
246525 return entry.functions.Size();
246526 }
◆ GetFunctionType()
| Value duckdb::AggregateFunctionExtractor::GetFunctionType |
( |
| ) |
|
|
inlinestatic |
246528 {
246529 return Value("aggregate");
246530 }
◆ GetReturnType()
246532 {
246533 return Value(entry.functions.GetFunctionByOffset(offset).GetReturnType().ToString());
246534 }
◆ GetParameters()
246536 {
246537 vector<Value> results;
246538 for (
idx_t i = 0; i < entry.functions.GetFunctionByOffset(offset).arguments.size(); i++) {
246539 results.emplace_back(
"col" +
to_string(i));
246540 }
246541 return results;
246542 }
std::string to_string(const T &value)
Definition duckdb.cpp:19425
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
◆ GetParameterTypes()
246544 {
246545 vector<Value> results;
246546 auto fun = entry.functions.GetFunctionByOffset(offset);
246547 for (
idx_t i = 0; i < fun.arguments.size(); i++) {
246548 results.emplace_back(fun.arguments[i].ToString());
246549 }
246550 return Value::LIST(LogicalType::VARCHAR, std::move(results));
246551 }
static DUCKDB_API Value LIST(const LogicalType &child_type, vector< Value > values)
Create a list value with the given entries.
Definition duckdb.cpp:132555
◆ GetParameterLogicalTypes()
246553 {
246554 auto fun = entry.functions.GetFunctionByOffset(offset);
246555 return fun.arguments;
246556 }
◆ GetVarArgs()
246558 {
246559 auto fun = entry.functions.GetFunctionByOffset(offset);
246560 return !fun.HasVarArgs() ? Value() : Value(fun.varargs.ToString());
246561 }
◆ GetMacroDefinition()
246563 {
246564 return Value();
246565 }
◆ IsVolatile()
246567 {
246568 return Value::BOOLEAN(entry.functions.GetFunctionByOffset(offset).GetStability() ==
246569 FunctionStability::VOLATILE);
246570 }
static DUCKDB_API Value BOOLEAN(bool value)
Create a boolean Value from a specified value.
Definition duckdb.cpp:132118
◆ ResultType()
246572 {
246573 return FunctionStabilityToValue(entry.functions.GetFunctionByOffset(offset).GetStability());
246574 }
The documentation for this struct was generated from the following file: