|
| static DUCKDB_API string | CallToString (const string &catalog_name, const string &schema_name, const string &name, const vector< LogicalType > &arguments, const LogicalType &varargs=LogicalType::INVALID) |
| | Returns the formatted string name(arg1, arg2, ...).
|
| static DUCKDB_API string | CallToString (const string &catalog_name, const string &schema_name, const string &name, const vector< LogicalType > &arguments, const LogicalType &varargs, const LogicalType &return_type) |
| | Returns the formatted string name(arg1, arg2..) -> return_type.
|
| static DUCKDB_API string | CallToString (const string &catalog_name, const string &schema_name, const string &name, const vector< LogicalType > &arguments, const named_parameter_type_map_t &named_parameters) |
| | Returns the formatted string name(arg1, arg2.., np1=a, np2=b, ...).
|
| static DUCKDB_API void | EraseArgument (SimpleFunction &bound_function, vector< unique_ptr< Expression > > &arguments, idx_t argument_index) |
| | Used in the bind to erase an argument from a function.
|
◆ SimpleFunction()
220821 : Function(std::move(name_p)),
arguments(std::move(arguments_p)),
varargs(std::move(varargs_p)) {
220822}
vector< LogicalType > arguments
The set of arguments of the function.
Definition duckdb.hpp:13917
LogicalType varargs
Definition duckdb.hpp:13923
◆ ~SimpleFunction()
| duckdb::SimpleFunction::~SimpleFunction |
( |
| ) |
|
|
override |
◆ ToString()
| string duckdb::SimpleFunction::ToString |
( |
| ) |
const |
|
virtual |
220827 {
220829}
string name
The name of the function.
Definition duckdb.hpp:13881
static DUCKDB_API string CallToString(const string &catalog_name, const string &schema_name, const string &name, const vector< LogicalType > &arguments, const LogicalType &varargs=LogicalType::INVALID)
Returns the formatted string name(arg1, arg2, ...).
Definition duckdb.cpp:220899
◆ HasVarArgs()
| bool duckdb::SimpleFunction::HasVarArgs |
( |
| ) |
const |
220831 {
220832 return varargs.id() != LogicalTypeId::INVALID;
220833}
◆ original_arguments
The set of original arguments of the function - only set if Function::EraseArgument is called Used for (de)serialization purposes
◆ varargs
The type of varargs to support, or LogicalTypeId::INVALID if the function does not accept variable length arguments
The documentation for this class was generated from the following files: