◆ FunctionCount()
246706 {
246707 return entry.functions.Size();
246708 }
◆ GetFunctionType()
| Value duckdb::TableFunctionExtractor::GetFunctionType |
( |
| ) |
|
|
inlinestatic |
246710 {
246711 return Value("table");
246712 }
◆ GetReturnType()
246714 {
246715 return Value();
246716 }
◆ GetParameters()
246718 {
246719 vector<Value> results;
246720 auto fun = entry.functions.GetFunctionByOffset(offset);
246721 for (
idx_t i = 0; i < fun.arguments.size(); i++) {
246722 results.emplace_back(
"col" +
to_string(i));
246723 }
246724 for (auto ¶m : fun.named_parameters) {
246725 results.emplace_back(param.first);
246726 }
246727 return results;
246728 }
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()
246730 {
246731 vector<Value> results;
246732 auto fun = entry.functions.GetFunctionByOffset(offset);
246733
246734 for (
idx_t i = 0; i < fun.arguments.size(); i++) {
246735 results.emplace_back(fun.arguments[i].ToString());
246736 }
246737 for (auto ¶m : fun.named_parameters) {
246738 results.emplace_back(param.second.ToString());
246739 }
246740 return Value::LIST(LogicalType::VARCHAR, std::move(results));
246741 }
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()
246743 {
246744 auto fun = entry.functions.GetFunctionByOffset(offset);
246745 return fun.arguments;
246746 }
◆ GetVarArgs()
246748 {
246749 auto fun = entry.functions.GetFunctionByOffset(offset);
246750 return !fun.HasVarArgs() ? Value() : Value(fun.varargs.ToString());
246751 }
◆ GetMacroDefinition()
246753 {
246754 return Value();
246755 }
◆ IsVolatile()
246757 {
246758 return Value();
246759 }
◆ ResultType()
246761 {
246762 return Value();
246763 }
The documentation for this struct was generated from the following file: